Class CrossDeviceIApplicationEqualityComparer
Provides cross-device application equality comparison support.
Inheritance
System.Object
CrossDeviceIApplicationEqualityComparer
Implements
System.Collections.Generic.IEqualityComparer<IApplication>
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Phoenix.Applications
Assembly: Phoenix.Abstractions.Applications.dll
Syntax
public class CrossDeviceIApplicationEqualityComparer : IEqualityComparer<IApplication>
Methods
View SourceEquals(IApplication, IApplication)
Determines whether the specified objects are equal.
Declaration
public bool Equals(IApplication x, IApplication y)
Parameters
Type | Name | Description |
---|---|---|
IApplication | x | The first object of type T to compare. |
IApplication | y | The second object of type T to compare. |
Returns
Type | Description |
---|---|
System.Boolean | true if the specified objects are equal; otherwise, false. |
GetHashCode(IApplication)
Returns a hash code for the specified object.
Declaration
public int GetHashCode(IApplication obj)
Parameters
Type | Name | Description |
---|---|---|
IApplication | obj | The System.Object for which a hash code is to be returned. |
Returns
Type | Description |
---|---|
System.Int32 | A hash code for the specified object. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | The app is null. |
Implements
System.Collections.Generic.IEqualityComparer<T>