4 writes to FileLength
Microsoft.NET.Sdk.StaticWebAssets.Tasks (4)
_generated\35\DefineStaticWebAssetsSerializerContext.StaticWebAsset.g.cs (1)
461
Setter = static (obj, value) => ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset)obj).
FileLength
= value!,
_generated\5\StaticWebAssetsJsonSerializerContext.StaticWebAsset.g.cs (1)
459
Setter = static (obj, value) => ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset)obj).
FileLength
= value!,
Data\StaticWebAsset.cs (2)
836
FileLength
= FileLength == -1 ? file.Length : FileLength;
1051
FileLength
= fileLength,
25 references to FileLength
Microsoft.NET.Sdk.StaticWebAssets.Tasks (25)
_generated\35\DefineStaticWebAssetsSerializerContext.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
);
_generated\5\StaticWebAssetsJsonSerializerContext.StaticWebAsset.g.cs (2)
458
Getter = static obj => ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset)obj).
FileLength
,
526
writer.WriteNumber(PropName_FileLength, ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset)value).
FileLength
);
ApplyCompressionNegotiation.cs (1)
348
Math.Round(1.0 / (compressedAsset.
FileLength
+ 1), 12).ToString("F12", CultureInfo.InvariantCulture);
Data\StaticWebAsset.cs (19)
77
_fileLength = asset.
FileLength
;
542
internal string FileLengthString => _fileLengthString ??= GetOriginalItemMetadata(nameof(
FileLength
));
831
if (string.IsNullOrEmpty(Fingerprint) || string.IsNullOrEmpty(Integrity) ||
FileLength
== -1 || LastWriteTime == DateTimeOffset.MinValue)
836
FileLength =
FileLength
== -1 ? file.Length :
FileLength
;
998
if (
FileLength
< 0)
1186
result =
FileLength
.CompareTo(other.
FileLength
);
1303
FileLength
== other.
FileLength
&&
1464
$"FileLength: {
FileLength
}, " +
1476
hash.Add(
FileLength
);
1684
nameof(
FileLength
),
1738
nameof(
FileLength
) => GetFileLengthAsString() ?? "",
1745
FileLength
== -1 ? (FileLengthString ?? "") :
FileLength
.ToString(CultureInfo.InvariantCulture);
1812
case nameof(
FileLength
):
1851
{ nameof(
FileLength
), GetFileLengthAsString() ?? "" },
1891
destinationItem.SetMetadata(nameof(
FileLength
), GetFileLengthAsString() ?? "");
DefineStaticWebAssetEndpoints.cs (1)
331
var length = CandidateAssets[i].GetMetadata(nameof(StaticWebAsset.
FileLength
));