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)
1230
var truncated = StaticAssetDevelopmentRuntimeHandler.
TruncateToSeconds
(original);
1247
var truncated = StaticAssetDevelopmentRuntimeHandler.
TruncateToSeconds
(utcDateTime);
1261
var truncated = StaticAssetDevelopmentRuntimeHandler.
TruncateToSeconds
(original);