4 writes to FileLength
Microsoft.NET.Sdk.StaticWebAssets.Tasks (4)
_generated\35\DefineStaticWebAssetsSerializerContext.StaticWebAsset.g.cs (1)
463
Setter = static (obj, value) => ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset)obj).
FileLength
= value!,
_generated\5\StaticWebAssetsJsonSerializerContext.StaticWebAsset.g.cs (1)
461
Setter = static (obj, value) => ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset)obj).
FileLength
= value!,
Data\StaticWebAsset.cs (2)
851
FileLength
= FileLength == -1 ? file.Length : FileLength;
1069
FileLength
= fileLength,
25 references to FileLength
Microsoft.NET.Sdk.StaticWebAssets.Tasks (25)
_generated\35\DefineStaticWebAssetsSerializerContext.StaticWebAsset.g.cs (2)
462
Getter = static obj => ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset)obj).
FileLength
,
530
writer.WriteNumber(PropName_FileLength, ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset)value).
FileLength
);
_generated\5\StaticWebAssetsJsonSerializerContext.StaticWebAsset.g.cs (2)
460
Getter = static obj => ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset)obj).
FileLength
,
528
writer.WriteNumber(PropName_FileLength, ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset)value).
FileLength
);
ApplyCompressionNegotiation.cs (1)
352
Math.Round(1.0 / (compressedAsset.
FileLength
+ 1), 12).ToString("F12", CultureInfo.InvariantCulture);
Data\StaticWebAsset.cs (19)
78
_fileLength = asset.
FileLength
;
543
internal string FileLengthString => _fileLengthString ??= GetOriginalItemMetadata(nameof(
FileLength
));
846
if (string.IsNullOrEmpty(Fingerprint) || string.IsNullOrEmpty(Integrity) ||
FileLength
== -1 || LastWriteTime == DateTimeOffset.MinValue)
851
FileLength =
FileLength
== -1 ? file.Length :
FileLength
;
1016
if (
FileLength
< 0)
1281
result =
FileLength
.CompareTo(other.
FileLength
);
1398
FileLength
== other.
FileLength
&&
1559
$"FileLength: {
FileLength
}, " +
1571
hash.Add(
FileLength
);
1793
nameof(
FileLength
),
1847
nameof(
FileLength
) => GetFileLengthAsString() ?? "",
1854
FileLength
== -1 ? (FileLengthString ?? "") :
FileLength
.ToString(CultureInfo.InvariantCulture);
1921
case nameof(
FileLength
):
1960
{ nameof(
FileLength
), GetFileLengthAsString() ?? "" },
2000
destinationItem.SetMetadata(nameof(
FileLength
), GetFileLengthAsString() ?? "");
DefineStaticWebAssetEndpoints.cs (1)
338
var length = CandidateAssets[i].GetMetadata(nameof(StaticWebAsset.
FileLength
));