Class StreamedMediaContentSource
Defines a media content source that is available using a stream
Implements
ImageVault.Abstractions.IMediaContentSource
System.IDisposable
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: ImageVault.Core.Common.Data
Assembly: ImageVault.Core.dll
Syntax
public class StreamedMediaContentSource : MediaContentSource, IDisposable
Constructors
StreamedMediaContentSource(Stream)
Declaration
public StreamedMediaContentSource(Stream stream)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | stream |
Properties
Length
Declaration
public override long Length { get; }
Property Value
Type | Description |
---|---|
System.Int64 |
Overrides
Methods
Dispose(Boolean)
Called when the object
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing |
Overrides
GetStream()
Declaration
public override Stream GetStream()
Returns
Type | Description |
---|---|
System.IO.Stream |
Overrides
Implements
ImageVault.Abstractions.IMediaContentSource
System.IDisposable