Search Results for

    Show / Hide Table of Contents

    Struct RepetitionId

    Type safe wrapper around a repetition id unique identifier (GUID).

    Implements
    IComparable
    Inherited Members
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    Namespace: Sdl.FileTypeSupport.Framework.NativeApi
    Assembly: Sdl.FileTypeSupport.Framework.Core.dll
    Syntax
    public struct RepetitionId : IComparable

    Constructors

    RepetitionId(string)

    Construction from a string representation of the repetition id

    Declaration
    public RepetitionId(string id)
    Parameters
    Type Name Description
    string id

    The id as a string

    Properties

    Id

    Repetition id as a string

    Declaration
    public string Id { get; }
    Property Value
    Type Description
    string

    Methods

    CompareTo(object)

    Compares the two ids.

    Declaration
    public int CompareTo(object obj)
    Parameters
    Type Name Description
    object obj
    Returns
    Type Description
    int

    Equals(object)

    Compares the id to the id of the other object.

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    object obj
    Returns
    Type Description
    bool
    Overrides
    ValueType.Equals(object)

    GetHashCode()

    The has code is based on the id.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int
    Overrides
    ValueType.GetHashCode()

    ToString()

    The id as a string

    Declaration
    public override string ToString()
    Returns
    Type Description
    string
    Overrides
    ValueType.ToString()

    Operators

    operator ==(RepetitionId, RepetitionId)

    Compares the ids of the two items.

    Declaration
    public static bool operator ==(RepetitionId first, RepetitionId second)
    Parameters
    Type Name Description
    RepetitionId first
    RepetitionId second
    Returns
    Type Description
    bool

    operator !=(RepetitionId, RepetitionId)

    Compares the ids of the two items.

    Declaration
    public static bool operator !=(RepetitionId first, RepetitionId second)
    Parameters
    Type Name Description
    RepetitionId first
    RepetitionId second
    Returns
    Type Description
    bool

    Implements

    IComparable
    In this article
    • Constructors
      • RepetitionId(string)
    • Properties
      • Id
    • Methods
      • CompareTo(object)
      • Equals(object)
      • GetHashCode()
      • ToString()
    • Operators
      • operator ==(RepetitionId, RepetitionId)
      • operator !=(RepetitionId, RepetitionId)
    • Implements
    Back to top Generated by DocFX