Class SkeletonCollectionKey
Wrapper used for defining integer keys in the File
Inheritance
Implements
Namespace: Sdl.Core.Bcm.BcmModel.Skeleton
Assembly: Sdl.Core.Bcm.BcmModel.dll
Syntax
public sealed class SkeletonCollectionKey : ValueType
Constructors
SkeletonCollectionKey(Int32)
Initializes a new instance of the Skeleton
Declaration
public SkeletonCollectionKey(int id)
Parameters
Type | Name | Description |
---|---|---|
System. |
id | The identifier. |
Properties
Id
Gets or sets the identifier.
Declaration
public int Id { get; set; }
Property Value
Type | Description |
---|---|
System. |
The identifier. |
Methods
Equals(SkeletonCollectionKey)
Performs a deep-equals comparison.
System.
Declaration
public bool Equals(SkeletonCollectionKey other)
Parameters
Type | Name | Description |
---|---|---|
Skeleton |
other |
Returns
Type | Description |
---|---|
System. |
Equals(Object)
Performs a deep-equals comparison.
System.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System. |
obj |
Returns
Type | Description |
---|---|
System. |
From(Int32)
Creates a new Skeleton
Declaration
public static SkeletonCollectionKey From(int from)
Parameters
Type | Name | Description |
---|---|---|
System. |
from | The value with which to initialize this instance. |
Returns
Type | Description |
---|---|
Skeleton |
A new instance of the Skeleton |
GetHashCode()
Returns a hash code for this instance.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System. |
A hash code for this instance. |
Operators
Equality(SkeletonCollectionKey, SkeletonCollectionKey)
Implements the operator ==.
Declaration
public static bool operator ==(SkeletonCollectionKey left, SkeletonCollectionKey right)
Parameters
Type | Name | Description |
---|---|---|
Skeleton |
left | The left hand item. |
Skeleton |
right | The right hand item. |
Returns
Type | Description |
---|---|
System. |
The result of Equals(Skeleton |
Inequality(SkeletonCollectionKey, SkeletonCollectionKey)
Implements the operator !=.
Declaration
public static bool operator !=(SkeletonCollectionKey left, SkeletonCollectionKey right)
Parameters
Type | Name | Description |
---|---|---|
Skeleton |
left | The left hand item. |
Skeleton |
right | The right hand item. |
Returns
Type | Description |
---|---|
System. |
The negated result of Equals(Skeleton |