Facebook
Twitter
Pinterest
Tumblr
GitHub
RSS
  • DEV Home
  • Documentation
  • Reference
  • Download
Search Results for

    Show / Hide Table of Contents

    Class ProfileWithLevel<TP, TL>

    A generic base class combining a profile and level enum value.

    Inheritance
    System.Object
    ProfileWithLevel<TP, TL>
    Av1ProfileWithLevel
    AvcProfileWithLevel
    H263ProfileWithLevel
    HevcProfileWithLevel
    Mpeg2ProfileWithLevel
    Mpeg4ProfileWithLevel
    Vc1ProfileWithLevel
    Vp8ProfileWithLevel
    Vp9ProfileWithLevel
    Namespace: Emby.Media.Model.Types
    Assembly: Emby.Media.Model.dll
    Syntax
    public class ProfileWithLevel<TP, TL>
        where TP : Enum where TL : Enum
    Type Parameters
    Name Description
    TP

    The type of the profile enum.

    TL

    The type of the level enum.

    Remarks

    This is primarily a prerequisite for ProfileWithLevelList<T, TP, TL>.

    Constructors

    ProfileWithLevel(TP, TL)

    Declaration
    public ProfileWithLevel(TP profile, TL level)
    Parameters
    Type Name Description
    TP profile
    TL level

    Properties

    Level

    Gets the level enum value.

    Declaration
    public TL Level { get; }
    Property Value
    Type Description
    TL

    The level enum value.

    Profile

    Gets the profile enum value.

    Declaration
    public TP Profile { get; }
    Property Value
    Type Description
    TP

    The profile enum value.

    Methods

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String
    Overrides
    System.Object.ToString()

    Extension Methods

    Extensions.JsonClone<T>(T, IJsonSerializer)
    SDK
    On this Page
    Back to Top Copyright 2022 © EMBY LLC. Please see our terms of use and privacy policy.