Class CrossDeviceIPackageEqualityComparer
Provides cross-device application equality comparison support.
Inheritance
System.Object
CrossDeviceIPackageEqualityComparer
Implements
System.Collections.Generic.IEqualityComparer<IPackage>
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 CrossDeviceIPackageEqualityComparer : IEqualityComparer<IPackage>
Methods
View SourceEquals(IPackage, IPackage)
Determines whether the specified objects are equal.
Declaration
public bool Equals(IPackage x, IPackage y)
Parameters
Type | Name | Description |
---|---|---|
IPackage | x | The first object of type T to compare. |
IPackage | y | The second object of type T to compare. |
Returns
Type | Description |
---|---|
System.Boolean | true if the specified objects are equal; otherwise, false. |
GetHashCode(IPackage)
Returns a hash code for the specified object.
Declaration
public int GetHashCode(IPackage obj)
Parameters
Type | Name | Description |
---|---|---|
IPackage | 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>