13 references to Source
Microsoft.AspNetCore.Components.Web (13)
Media\FileDownload.cs (3)
101
if (
Source
is null || !IsInteractive || string.IsNullOrWhiteSpace(FileName))
109
_currentSource =
Source
;
112
var source =
Source
;
Media\Image.cs (2)
33
var showInitial =
Source
!= null && _currentSource == null && string.IsNullOrEmpty(_currentObjectUrl) && !_hasError;
55
var defaultShowInitial =
Source
!= null && _currentSource == null && string.IsNullOrEmpty(_currentObjectUrl) && !_hasError;
Media\MediaComponentBase.cs (6)
82
/// and whenever the <see cref="
Source
"/> changes. Override and return <c>false</c> for components
108
var previousSource =
Source
;
112
if (
Source
is null)
114
throw new InvalidOperationException($"{nameof(MediaComponentBase)}.{nameof(
Source
)} is required.");
124
if (!HasSameKey(previousSource,
Source
))
134
var source =
Source
;
Media\Video.cs (2)
33
var showInitial =
Source
!= null && _currentSource == null && string.IsNullOrEmpty(_currentObjectUrl) && !_hasError;
55
var defaultShowInitial =
Source
!= null && _currentSource == null && string.IsNullOrEmpty(_currentObjectUrl) && !_hasError;