Class TestHwaccelPair
Inheritance
Implements
Namespace: MediaBrowser.Controller.MediaEncoding.Tests
Assembly: MediaBrowser.Controller.dll
Syntax
public class TestHwaccelPair : IEquatable<TestHwaccelPair>
Constructors
TestHwaccelPair()
Initializes a new instance of the System.Object class.
Declaration
public TestHwaccelPair()
TestHwaccelPair(TestHwaccels, TestHwaccels)
Initializes a new instance of the System.Object class.
Declaration
public TestHwaccelPair(TestHwaccels decoding, TestHwaccels enccoding)
Parameters
Type | Name | Description |
---|---|---|
TestHwaccels | decoding | |
TestHwaccels | enccoding |
Properties
Decoding
Declaration
public TestHwaccels Decoding { get; set; }
Property Value
Type | Description |
---|---|
TestHwaccels |
Enccoding
Declaration
public TestHwaccels Enccoding { get; set; }
Property Value
Type | Description |
---|---|
TestHwaccels |
Key
Declaration
public string Key { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
Equals(TestHwaccelPair)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals(TestHwaccelPair other)
Parameters
Type | Name | Description |
---|---|---|
TestHwaccelPair | other | An object to compare with this object. |
Returns
Type | Description |
---|---|
System.Boolean | true if the current object is equal to the |
Equals(Object)
Determines whether the specified object is equal to the current object.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | The object to compare with the current object. |
Returns
Type | Description |
---|---|
System.Boolean | true if the specified object is equal to the current object; otherwise, false. |
Overrides
GetHashCode()
Serves as the default hash function.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | A hash code for the current object. |
Overrides
ToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | A string that represents the current object. |
Overrides
Operators
Equality(TestHwaccelPair, TestHwaccelPair)
Returns a value that indicates whether the values of two TestHwaccelPair objects are equal.
Declaration
public static bool operator ==(TestHwaccelPair left, TestHwaccelPair right)
Parameters
Type | Name | Description |
---|---|---|
TestHwaccelPair | left | The first value to compare. |
TestHwaccelPair | right | The second value to compare. |
Returns
Type | Description |
---|---|
System.Boolean | true if the |
Inequality(TestHwaccelPair, TestHwaccelPair)
Returns a value that indicates whether two TestHwaccelPair objects have different values.
Declaration
public static bool operator !=(TestHwaccelPair left, TestHwaccelPair right)
Parameters
Type | Name | Description |
---|---|---|
TestHwaccelPair | left | The first value to compare. |
TestHwaccelPair | right | The second value to compare. |
Returns
Type | Description |
---|---|
System.Boolean | true if |