Search Results for

    Show / Hide Table of Contents

    Struct GeneratorId

    Type safe wrapper around an id for a native or bilingual document generator

    Inherited Members
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    Namespace: Sdl.FileTypeSupport.Framework.IntegrationApi
    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
    Type Description
    GeneratorId

    Properties

    Id

    The id for this preview type as a string

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

    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
    Type Description
    bool
    Overrides
    ValueType.Equals(object)

    GetHashCode()

    Returns a hash code based on the id value.

    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 ==(GeneratorId, GeneratorId)

    Returns true if the two ids have the same Id value.

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

    operator !=(GeneratorId, GeneratorId)

    Returns true if the two ids have different Id values.

    Declaration
    public static bool operator !=(GeneratorId first, GeneratorId second)
    Parameters
    Type Name Description
    GeneratorId first
    GeneratorId second
    Returns
    Type Description
    bool
    In this article
    • Constructors
      • GeneratorId(string)
    • Fields
      • Default
    • Properties
      • Id
    • Methods
      • Equals(object)
      • GetHashCode()
      • ToString()
    • Operators
      • operator ==(GeneratorId, GeneratorId)
      • operator !=(GeneratorId, GeneratorId)
    Back to top Generated by DocFX