12 references to MediaSource
Microsoft.AspNetCore.Components.Web (12)
Media\FileDownload.cs (1)
112
var
source = Source;
Media\MediaComponentBase.cs (8)
41
/// The <see cref="
MediaSource
"/> instance currently being processed (or <c>null</c> if none).
43
internal
MediaSource
? _currentSource;
90
[Parameter, EditorRequired] public required
MediaSource
Source { get; set; }
108
var
previousSource = Source;
134
var
source = Source;
184
private async Task LoadMediaAsync(
MediaSource
? source, CancellationToken cancellationToken)
289
private static bool HasSameKey(
MediaSource
? a,
MediaSource
? b)
Media\MediaSource.cs (3)
7
/// Represents a single-use source for media data. A <see cref="
MediaSource
"/> corresponds to
35
/// Initializes a new instance of <see cref="
MediaSource
"/> with byte array data.
55
/// Initializes a new instance of <see cref="
MediaSource
"/> from an existing stream.