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)
51HasError = _hasError, 68else if (_hasError)
Media\Image.cs (4)
33var showInitial = Source != null && _currentSource == null && string.IsNullOrEmpty(_currentObjectUrl) && !_hasError; 38HasError = _hasError, 55var defaultShowInitial = Source != null && _currentSource == null && string.IsNullOrEmpty(_currentObjectUrl) && !_hasError; 60else if (_hasError)
Media\MediaComponentBase.cs (1)
50internal bool IsLoading => _currentSource != null && string.IsNullOrEmpty(_currentObjectUrl) && !_hasError;
Media\Video.cs (4)
33var showInitial = Source != null && _currentSource == null && string.IsNullOrEmpty(_currentObjectUrl) && !_hasError; 38HasError = _hasError, 55var defaultShowInitial = Source != null && _currentSource == null && string.IsNullOrEmpty(_currentObjectUrl) && !_hasError; 60else if (_hasError)