Struct RepetitionId
Type safe wrapper around a repetition id unique identifier (GUID).
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
Methods
CompareTo(object)
Declaration
public int CompareTo(object obj)
Parameters
Type |
Name |
Description |
object |
obj |
|
Returns
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
Overrides
GetHashCode()
The has code is based on the id.
Declaration
public override int GetHashCode()
Returns
Overrides
ToString()
Declaration
public override string ToString()
Returns
Overrides
Operators
operator ==(RepetitionId, RepetitionId)
Compares the ids of the two items.
Declaration
public static bool operator ==(RepetitionId first, RepetitionId second)
Parameters
Returns
operator !=(RepetitionId, RepetitionId)
Compares the ids of the two items.
Declaration
public static bool operator !=(RepetitionId first, RepetitionId second)
Parameters
Returns
Implements