Search Results for

    Show / Hide Table of Contents

    Class MediaFormatCollection<TFormat, TFormatCollection>

    A media format collection.

    Inheritance
    System.Object
    Collection<TFormat, TFormatCollection>
    MediaFormatCollection<TFormat, TFormatCollection>
    AudioFormatCollection
    VideoFormatCollection
    Inherited Members
    Collection<TFormat, TFormatCollection>.Count
    Collection<TFormat, TFormatCollection>.Values
    Collection<TFormat, TFormatCollection>.ToArray()
    Collection<TFormat, TFormatCollection>.ArrayFromList(List<TFormat>)
    Collection<TFormat, TFormatCollection>.CreateCollection()
    Collection<TFormat, TFormatCollection>.ForEach(Action2<TFormat, Int32>)
    Collection<TFormat, TFormatCollection>.Replace(TFormat[])
    Collection<TFormat, TFormatCollection>.Value
    Collection<TFormat, TFormatCollection>.AddSuccess(TFormat)
    Collection<TFormat, TFormatCollection>.AddSuccessNoLock(TFormat)
    Collection<TFormat, TFormatCollection>.Add(TFormat)
    Collection<TFormat, TFormatCollection>.AddMany(TFormat[])
    Collection<TFormat, TFormatCollection>.RemoveSuccess(TFormat)
    Collection<TFormat, TFormatCollection>.RemoveSuccessNoLock(TFormat)
    Collection<TFormat, TFormatCollection>.RemoveFirst()
    Collection<TFormat, TFormatCollection>.RemoveLast()
    Collection<TFormat, TFormatCollection>.RemoveFirst(Function1<TFormat, Boolean>)
    Collection<TFormat, TFormatCollection>.RemoveLast(Function1<TFormat, Boolean>)
    Collection<TFormat, TFormatCollection>.Remove(TFormat)
    Collection<TFormat, TFormatCollection>.RemoveMany(TFormat[])
    Collection<TFormat, TFormatCollection>.RemoveAll()
    Collection<TFormat, TFormatCollection>.Any()
    Collection<TFormat, TFormatCollection>.Any(Function1<TFormat, Boolean>)
    Collection<TFormat, TFormatCollection>.Contains(TFormat)
    Collection<TFormat, TFormatCollection>.ValueAt(Int32)
    Collection<TFormat, TFormatCollection>.ValueAtOrDefault(Int32)
    Collection<TFormat, TFormatCollection>.First()
    Collection<TFormat, TFormatCollection>.First(Function1<TFormat, Boolean>)
    Collection<TFormat, TFormatCollection>.FirstOrDefault()
    Collection<TFormat, TFormatCollection>.FirstOrDefault(Function1<TFormat, Boolean>)
    Collection<TFormat, TFormatCollection>.Last()
    Collection<TFormat, TFormatCollection>.Last(Function1<TFormat, Boolean>)
    Collection<TFormat, TFormatCollection>.LastOrDefault()
    Collection<TFormat, TFormatCollection>.LastOrDefault(Function1<TFormat, Boolean>)
    Collection<TFormat, TFormatCollection>.Single()
    Collection<TFormat, TFormatCollection>.Single(Function1<TFormat, Boolean>)
    Collection<TFormat, TFormatCollection>.SingleOrDefault()
    Collection<TFormat, TFormatCollection>.SingleOrDefault(Function1<TFormat, Boolean>)
    Collection<TFormat, TFormatCollection>.Where(Function2<TFormat, Int32, Boolean>)
    Namespace: FM.LiveSwitch
    Assembly: FM.LiveSwitch.dll
    Syntax
    public abstract class MediaFormatCollection<TFormat, TFormatCollection> : Collection<TFormat, TFormatCollection> where TFormat : MediaFormat<TFormat> where TFormatCollection : MediaFormatCollection<TFormat, TFormatCollection>
    Type Parameters
    Name Description
    TFormat

    The type of the format.

    TFormatCollection

    The type of the format collection.

    Methods

    AddSuccess(TFormat)

    Invoked when an element is added to the collection.

    Declaration
    protected override void AddSuccess(TFormat value)
    Parameters
    Type Name Description
    TFormat value

    The format.

    Overrides
    FM.LiveSwitch.Collection<TFormat, TFormatCollection>.AddSuccess(TFormat)

    GetCompatible(TFormat)

    Gets a format by compatibility to another format.

    Declaration
    public TFormat GetCompatible(TFormat format)
    Parameters
    Type Name Description
    TFormat format

    The format.

    Returns
    Type Description
    TFormat

    GetCompatibles(TFormat)

    Gets a format by compatibility to another format.

    Declaration
    public TFormat[] GetCompatibles(TFormat format)
    Parameters
    Type Name Description
    TFormat format

    The format.

    Returns
    Type Description
    TFormat[]

    GetEquivalent(TFormat)

    Gets a format by equivalence to another format.

    Declaration
    public TFormat GetEquivalent(TFormat format)
    Parameters
    Type Name Description
    TFormat format

    The format.

    Returns
    Type Description
    TFormat

    GetEquivalent(TFormat, Boolean)

    Gets a format by equivalence to another format, ignoring whether the format is packetized.

    Declaration
    public TFormat GetEquivalent(TFormat format, bool ignoreIsPacketized)
    Parameters
    Type Name Description
    TFormat format

    The format.

    System.Boolean ignoreIsPacketized

    if set to true [ignore IsPacketized].

    Returns
    Type Description
    TFormat

    HasCompatible(TFormat)

    Determines if the collection has a compatible format.

    Declaration
    public bool HasCompatible(TFormat format)
    Parameters
    Type Name Description
    TFormat format

    The format.

    Returns
    Type Description
    System.Boolean

    HasEquivalent(TFormat)

    Determines if the collection has an equivalent format.

    Declaration
    public bool HasEquivalent(TFormat format)
    Parameters
    Type Name Description
    TFormat format

    The format.

    Returns
    Type Description
    System.Boolean

    RemoveSuccess(TFormat)

    Invoked when an element is removed from the collection.

    Declaration
    protected override void RemoveSuccess(TFormat value)
    Parameters
    Type Name Description
    TFormat value

    The format.

    Overrides
    FM.LiveSwitch.Collection<TFormat, TFormatCollection>.RemoveSuccess(TFormat)
    In This Article
    Back to top Copyright © LiveSwitch Inc. All Rights Reserved. Doc build for LiveSwitch v1.15.0