Inheritance
System.Object
CompositeKey
public class CompositeKey : Key, IEquatable<CompositeKey>
Constructors
Declaration
public CompositeKey(object componentKey1, object componentKey2)
Parameters
Type |
Name |
Description |
System.Object |
componentKey1 |
|
System.Object |
componentKey2 |
|
Methods
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
System.Object.Equals(System.Object)
Declaration
public bool Equals(CompositeKey other)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.Object.GetHashCode()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.Object.ToString()
Operators
Declaration
public static bool operator ==(CompositeKey left, CompositeKey right)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool operator !=(CompositeKey left, CompositeKey right)
Parameters
Returns
Type |
Description |
System.Boolean |
|