Class ProfileWithLevel<TP, TL>
A generic base class combining a profile and level enum value.
Inheritance
System.Object
ProfileWithLevel<TP, TL>
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()