Search Results for

    Show / Hide Table of Contents

    Struct FileId

    Typesafe wrapper for a file identifier string.

    Inherited Members
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetType()
    Namespace: Sdl.FileTypeSupport.Framework.NativeApi
    Assembly: Sdl.FileTypeSupport.Framework.Core.dll
    Syntax
    public struct FileId

    Constructors

    FileId(String)

    Construction from a string id

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

    Properties

    Id

    The id as a string

    Declaration
    public string Id { get; set; }
    Property Value
    Type Description
    System.String

    Methods

    Equals(Object)

    True if string id values are equal

    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()

    The string id hash

    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(FileId, FileId)

    True if string id values are equal

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

    Inequality(FileId, FileId)

    True if string id values are not equal

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

    On this page

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