Search Results for

    Show / Hide Table of Contents

    Struct PreviewSetId

    Type safe wrapper around a unique id for a preview set

    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 PreviewSetId

    Constructors

    PreviewSetId(string)

    Creates from a string id

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

    Properties

    Id

    The id of 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 ==(PreviewSetId, PreviewSetId)

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

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

    operator !=(PreviewSetId, PreviewSetId)

    Returns true if the two ids have different Id values.

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