Search Results for

    Show / Hide Table of Contents

    Class MediaContentSource

    Defines a reference to a content.

    Inheritance
    System.Object
    MediaContentSource
    BufferedJsonContentSource
    BufferedMediaContentSource
    FileStreamMediaContentSource
    StreamedMediaContentSource
    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 abstract class MediaContentSource : IDisposable

    Constructors

    MediaContentSource()

    Declaration
    protected MediaContentSource()

    Properties

    Disposed

    Returns true if the objects managed resources are disposed

    Declaration
    protected bool Disposed { get; }
    Property Value
    Type Description
    System.Boolean

    Length

    Declaration
    public abstract long Length { get; }
    Property Value
    Type Description
    System.Int64

    Name

    Declaration
    public string Name { get; set; }
    Property Value
    Type Description
    System.String

    Offset

    Declaration
    public long Offset { get; set; }
    Property Value
    Type Description
    System.Int64

    TotalLength

    Declaration
    public long TotalLength { get; set; }
    Property Value
    Type Description
    System.Int64

    Methods

    Dispose()

    Declaration
    public void Dispose()

    Dispose(Boolean)

    Called when the object

    Declaration
    protected virtual void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing

    GetStream()

    Declaration
    public abstract Stream GetStream()
    Returns
    Type Description
    System.IO.Stream

    Implements

    ImageVault.Abstractions.IMediaContentSource
    System.IDisposable
    In This Article
    Back to top (c) Meriworks 2002-2022