Class MaxResAndRateAttribute
Attribute specifying a maximum supported combination of resolution and rate for an enum value.
Inheritance
System.Object
System.Attribute
MaxResAndRateAttribute
Inherited Members
System.Attribute.Equals(System.Object)
System.Attribute.GetCustomAttribute(System.Reflection.Assembly, System.Type)
System.Attribute.GetCustomAttribute(System.Reflection.Assembly, System.Type, System.Boolean)
System.Attribute.GetCustomAttribute(System.Reflection.MemberInfo, System.Type)
System.Attribute.GetCustomAttribute(System.Reflection.MemberInfo, System.Type, System.Boolean)
System.Attribute.GetCustomAttribute(System.Reflection.Module, System.Type)
System.Attribute.GetCustomAttribute(System.Reflection.Module, System.Type, System.Boolean)
System.Attribute.GetCustomAttribute(System.Reflection.ParameterInfo, System.Type)
System.Attribute.GetCustomAttribute(System.Reflection.ParameterInfo, System.Type, System.Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.Assembly)
System.Attribute.GetCustomAttributes(System.Reflection.Assembly, System.Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.Assembly, System.Type)
System.Attribute.GetCustomAttributes(System.Reflection.Assembly, System.Type, System.Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo)
System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo, System.Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo, System.Type)
System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo, System.Type, System.Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.Module)
System.Attribute.GetCustomAttributes(System.Reflection.Module, System.Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.Module, System.Type)
System.Attribute.GetCustomAttributes(System.Reflection.Module, System.Type, System.Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo)
System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo, System.Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo, System.Type)
System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo, System.Type, System.Boolean)
System.Attribute.GetHashCode()
System.Attribute.IsDefaultAttribute()
System.Attribute.IsDefined(System.Reflection.Assembly, System.Type)
System.Attribute.IsDefined(System.Reflection.Assembly, System.Type, System.Boolean)
System.Attribute.IsDefined(System.Reflection.MemberInfo, System.Type)
System.Attribute.IsDefined(System.Reflection.MemberInfo, System.Type, System.Boolean)
System.Attribute.IsDefined(System.Reflection.Module, System.Type)
System.Attribute.IsDefined(System.Reflection.Module, System.Type, System.Boolean)
System.Attribute.IsDefined(System.Reflection.ParameterInfo, System.Type)
System.Attribute.IsDefined(System.Reflection.ParameterInfo, System.Type, System.Boolean)
System.Attribute.Match(System.Object)
System.Attribute.TypeId
Namespace: Emby.Media.Model.Attributes
Assembly: Emby.Media.Model.dll
Syntax
[AttributeUsage(AttributeTargets.Field, AllowMultiple = true)]
public class MaxResAndRateAttribute : Attribute
Constructors
MaxResAndRateAttribute(Int32, Int32, Double)
Initializes a new instance of the MaxResAndRateAttribute class.
Declaration
public MaxResAndRateAttribute(int width, int height, double frameRate)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | width | The resolution width. |
System.Int32 | height | The resolution height. |
System.Double | frameRate | The maximum frame rate for this resolution. |
Properties
FrameRate
Gets the maximum frame rate for the resolution.
Declaration
public double FrameRate { get; }
Property Value
Type | Description |
---|---|
System.Double | The maximum frame rate. |
Height
Gets the resolution height.
Declaration
public int Height { get; }
Property Value
Type | Description |
---|---|
System.Int32 | The resolution height. |
Resolution
Gets a Resolution value.
Declaration
public Resolution Resolution { get; }
Property Value
Type | Description |
---|---|
Resolution | The resolution. |
ResolutionWithRate
Gets a ResolutionWithRate value.
Declaration
public ResolutionWithRate ResolutionWithRate { get; }
Property Value
Type | Description |
---|---|
ResolutionWithRate | The resolution with rate. |
Width
Gets the resolution width.
Declaration
public int Width { get; }
Property Value
Type | Description |
---|---|
System.Int32 | The resolution width. |
Extension Methods
See Also
System.Attribute