Class ITakeBindingEqualityComparer
Defines methods to support the comparison of ITakeBindings for equality.
Namespace: Unity.LiveCapture
Syntax
public class ITakeBindingEqualityComparer : IEqualityComparer<ITakeBinding>
Properties
Instance
The default instance of the comparer.
Declaration
public static ITakeBindingEqualityComparer Instance { get; }
Property Value
Type | Description |
---|---|
ITakeBindingEqualityComparer |
Methods
Equals(ITakeBinding, ITakeBinding)
Determines whether the specified ITakeBindings are equal.
Declaration
public bool Equals(ITakeBinding x, ITakeBinding y)
Parameters
Type | Name | Description |
---|---|---|
ITakeBinding | x | The first ITakeBinding to compare. |
ITakeBinding | y | The second ITakeBinding to compare. |
Returns
Type | Description |
---|---|
Boolean | True if the specified ITakeBindings are equal; otherwise, false. |
GetHashCode(ITakeBinding)
Returns a hash code for the specified ITakeBinding.
Declaration
public int GetHashCode(ITakeBinding obj)
Parameters
Type | Name | Description |
---|---|---|
ITakeBinding | obj | The ITakeBinding for which a hash code is to be returned. |
Returns
Type | Description |
---|---|
Int32 | A hash code for the specified ITakeBinding. |