1 write to _isFrozen
Microsoft.AspNetCore.StaticAssets (1)
StaticAssetDescriptor.cs (1)
78
_isFrozen
= true;
5 references to _isFrozen
Microsoft.AspNetCore.StaticAssets (5)
StaticAssetDescriptor.cs (5)
28
set => _route = !
_isFrozen
? value : throw new InvalidOperationException("StaticAssetDescriptor is frozen and doesn't accept further changes");
38
set => _assetFile = !
_isFrozen
? value : throw new InvalidOperationException("StaticAssetDescriptor is frozen and doesn't accept further changes");
48
set => _selectors = !
_isFrozen
? value : throw new InvalidOperationException("StaticAssetDescriptor is frozen and doesn't accept further changes");
58
set => _endpointProperties = !
_isFrozen
? value : throw new InvalidOperationException("StaticAssetDescriptor is frozen and doesn't accept further changes");
68
set => _responseHeaders = !
_isFrozen
? value : throw new InvalidOperationException("StaticAssetDescriptor is frozen and doesn't accept further changes");