Search Results for

    Show / Hide Table of Contents

    Class BufferedMediaContentSource

    Defines a media content source that refers to a buffered content

    Inheritance
    System.Object
    MediaContentSource
    BufferedMediaContentSource
    Implements
    ImageVault.Abstractions.IMediaContentSource
    System.IDisposable
    Inherited Members
    MediaContentSource.Dispose()
    MediaContentSource.Disposed
    MediaContentSource.Offset
    MediaContentSource.TotalLength
    MediaContentSource.Name
    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 BufferedMediaContentSource : MediaContentSource, IDisposable

    Constructors

    BufferedMediaContentSource(Byte[])

    Declaration
    public BufferedMediaContentSource(byte[] content)
    Parameters
    Type Name Description
    System.Byte[] content

    Properties

    Length

    Declaration
    public override long Length { get; }
    Property Value
    Type Description
    System.Int64
    Overrides
    MediaContentSource.Length

    Methods

    Dispose(Boolean)

    Called when the object

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing
    Overrides
    MediaContentSource.Dispose(Boolean)

    GetBytes()

    Gets the content buffer of the content source.

    Declaration
    public byte[] GetBytes()
    Returns
    Type Description
    System.Byte[]

    GetStream()

    Declaration
    public override Stream GetStream()
    Returns
    Type Description
    System.IO.Stream
    Overrides
    MediaContentSource.GetStream()

    Implements

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