Search Results for

    Show / Hide Table of Contents

    Struct PreviewControlId

    Type safe wrapper around a preview control type id

    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 PreviewControlId

    Constructors

    PreviewControlId(String)

    Creates from a string id

    Declaration
    public PreviewControlId(string id)
    Parameters
    Type Name Description
    System.String id

    Properties

    Id

    The id for 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(PreviewControlId, PreviewControlId)

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

    Declaration
    public static bool operator ==(PreviewControlId first, PreviewControlId second)
    Parameters
    Type Name Description
    PreviewControlId first
    PreviewControlId second
    Returns
    Type Description
    System.Boolean

    Inequality(PreviewControlId, PreviewControlId)

    Returns true if the two ids have different Id values.

    Declaration
    public static bool operator !=(PreviewControlId first, PreviewControlId second)
    Parameters
    Type Name Description
    PreviewControlId first
    PreviewControlId second
    Returns
    Type Description
    System.Boolean

    On this page

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