Search Results for

    Show / Hide Table of Contents

    Struct RepetitionId

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

    Implements
    System.IComparable
    Inherited Members
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.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
    System.String id

    The id as a string

    Properties

    Id

    Repetition id as a string

    Declaration
    public readonly string Id { get; }
    Property Value
    Type Description
    System.String

    Methods

    CompareTo(Object)

    Compares the two ids.

    Declaration
    public int CompareTo(object obj)
    Parameters
    Type Name Description
    System.Object obj
    Returns
    Type Description
    System.Int32

    Equals(Object)

    Compares the id to the id of the other object.

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

    GetHashCode()

    The has code is based on the id.

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

    ToString()

    The id as a string

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

    Operators

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

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

    Implements

    System.IComparable

    On this page

    • Constructors
      • RepetitionId(String)
    • Properties
      • Id
    • Methods
      • CompareTo(Object)
      • Equals(Object)
      • GetHashCode()
      • ToString()
    • Operators
      • Equality(RepetitionId, RepetitionId)
      • Inequality(RepetitionId, RepetitionId)
    • Implements
    Back to top Generated by DocFX