4 references to TruncateToSeconds
Microsoft.AspNetCore.StaticAssets (1)
Development\StaticAssetDevelopmentRuntimeHandler.cs (1)
63
if (fileInfo.Length != asset.GetContentLength() ||
TruncateToSeconds
(fileInfo.LastModified) != asset.GetLastModified())
Microsoft.AspNetCore.StaticAssets.Tests (3)
StaticAssetsIntegrationTests.cs (3)
1107
var truncated = StaticAssetDevelopmentRuntimeHandler.
TruncateToSeconds
(original);
1124
var truncated = StaticAssetDevelopmentRuntimeHandler.
TruncateToSeconds
(utcDateTime);
1138
var truncated = StaticAssetDevelopmentRuntimeHandler.
TruncateToSeconds
(original);