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