Struct GeneratorId
Type safe wrapper around an id for a native or bilingual document generator
Assembly: Sdl.FileTypeSupport.Framework.Core.dll
Syntax
public struct GeneratorId
Constructors
GeneratorId(string)
Creates from a string id.
Declaration
public GeneratorId(string id)
Parameters
Type |
Name |
Description |
string |
id |
|
Fields
Default
Id value that can be used to represent the default generator for a file type
Declaration
public static GeneratorId Default
Field Value
Properties
Id
The id for this preview type as a string
Declaration
public string Id { get; }
Property Value
Methods
Equals(object)
Returns true
if the objects have the same id value.
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
object |
obj |
|
Returns
Overrides
GetHashCode()
Returns a hash code based on the id value.
Declaration
public override int GetHashCode()
Returns
Overrides
ToString()
Declaration
public override string ToString()
Returns
Overrides
Operators
operator ==(GeneratorId, GeneratorId)
Returns true
if the two ids have the same Id value.
Declaration
public static bool operator ==(GeneratorId first, GeneratorId second)
Parameters
Returns
operator !=(GeneratorId, GeneratorId)
Returns true
if the two ids have different Id values.
Declaration
public static bool operator !=(GeneratorId first, GeneratorId second)
Parameters
Returns