Search Results for

    Show / Hide Table of Contents

    Struct PreviewSetId

    Type safe wrapper around a unique id for a preview set

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

    Properties

    Id

    The id of this preview type as a string

    Declaration
    public readonly string Id { get; }
    Property Value
    Type Description
    System.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
    System.Object obj
    Returns
    Type Description
    System.Boolean
    Overrides
    System.ValueType.Equals(System.Object)

    GetHashCode()

    Returns a hash code based on the id value.

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

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

    On this page

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