Search Results for

    Show / Hide Table of Contents

    Class SkeletonCollectionKey

    Wrapper used for defining integer keys in the FileSkeleton collections.

    Inheritance
    System.Object
    SkeletonCollectionKey
    Implements
    System.IEquatable<SkeletonCollectionKey>
    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 SkeletonCollectionKey struct.

    Declaration
    public SkeletonCollectionKey(int id)
    Parameters
    Type Name Description
    System.Int32 id

    The identifier.

    Properties

    Id

    Gets or sets the identifier.

    Declaration
    public int Id { get; set; }
    Property Value
    Type Description
    System.Int32

    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
    System.Boolean

    Equals(Object)

    Performs a deep-equals comparison.
    System.Object.Equals(object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    System.Object obj
    Returns
    Type Description
    System.Boolean

    From(Int32)

    Creates a new SkeletonCollectionKey from an integer.

    Declaration
    public static SkeletonCollectionKey From(int from)
    Parameters
    Type Name Description
    System.Int32 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
    System.Int32

    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
    SkeletonCollectionKey left

    The left hand item.

    SkeletonCollectionKey right

    The right hand item.

    Returns
    Type Description
    System.Boolean

    The result of Equals(SkeletonCollectionKey)

    Inequality(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
    System.Boolean

    The negated result of Equals(SkeletonCollectionKey)

    Implements

    System.IEquatable<>

    On this page

    Back to top Generated by DocFX