6 writes to _hasError
Microsoft.AspNetCore.Components.Web (6)
Media\FileDownload.cs (3)
108
_hasError
= false;
132
_hasError
= true;
145
_hasError
= true;
Media\MediaComponentBase.cs (3)
216
_hasError
= false;
231
_hasError
= true;
247
_hasError
= true;
11 references to _hasError
Microsoft.AspNetCore.Components.Web (11)
Media\FileDownload.cs (2)
51
HasError =
_hasError
,
68
else if (
_hasError
)
Media\Image.cs (4)
33
var showInitial = Source != null && _currentSource == null && string.IsNullOrEmpty(_currentObjectUrl) && !
_hasError
;
38
HasError =
_hasError
,
55
var defaultShowInitial = Source != null && _currentSource == null && string.IsNullOrEmpty(_currentObjectUrl) && !
_hasError
;
60
else if (
_hasError
)
Media\MediaComponentBase.cs (1)
50
internal bool IsLoading => _currentSource != null && string.IsNullOrEmpty(_currentObjectUrl) && !
_hasError
;
Media\Video.cs (4)
33
var showInitial = Source != null && _currentSource == null && string.IsNullOrEmpty(_currentObjectUrl) && !
_hasError
;
38
HasError =
_hasError
,
55
var defaultShowInitial = Source != null && _currentSource == null && string.IsNullOrEmpty(_currentObjectUrl) && !
_hasError
;
60
else if (
_hasError
)