View Source
Struct CompositeIntStringKey
Represents a composite key of (int, string) for fast dictionaries.
Assembly: Umbraco.Core.dll
Syntax
public struct CompositeIntStringKey
Constructors
View Source
CompositeIntStringKey(Nullable<Int32>, String)
Declaration
public CompositeIntStringKey(int? key1, string key2)
Parameters
Type |
Name |
Description |
System.Nullable<System.Int32> |
key1 |
|
System.String |
key2 |
|
Methods
View Source
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
View Source
Equals(CompositeIntStringKey)
Declaration
public bool Equals(CompositeIntStringKey other)
Parameters
Returns
Type |
Description |
System.Boolean |
|
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Operators
View Source
Equality(CompositeIntStringKey, CompositeIntStringKey)
Declaration
public static bool operator ==(CompositeIntStringKey key1, CompositeIntStringKey key2)
Parameters
Returns
Type |
Description |
System.Boolean |
|
View Source
Inequality(CompositeIntStringKey, CompositeIntStringKey)
Declaration
public static bool operator !=(CompositeIntStringKey key1, CompositeIntStringKey key2)
Parameters
Returns
Type |
Description |
System.Boolean |
|