Search Results for

    Show / Hide Table of Contents

    Class Id

    Inheritance
    object
    Id
    Implements
    IEquatable<Id>
    IUrlParameter
    Inherited Members
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: OpenSearch.Client
    Assembly: OpenSearch.Client.dll
    Syntax
    public class Id : IEquatable<Id>, IUrlParameter

    Constructors

    | Edit this page View Source

    Id(long)

    Declaration
    public Id(long id)
    Parameters
    Type Name Description
    long id
    | Edit this page View Source

    Id(object)

    Declaration
    public Id(object document)
    Parameters
    Type Name Description
    object document
    | Edit this page View Source

    Id(string)

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

    Methods

    | Edit this page View Source

    Equals(Id)

    Declaration
    public bool Equals(Id other)
    Parameters
    Type Name Description
    Id other
    Returns
    Type Description
    bool
    | Edit this page View Source

    Equals(object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    object obj
    Returns
    Type Description
    bool
    Overrides
    object.Equals(object)
    | Edit this page View Source

    From<T>(T)

    Declaration
    public static Id From<T>(T document) where T : class
    Parameters
    Type Name Description
    T document
    Returns
    Type Description
    Id
    Type Parameters
    Name Description
    T
    | Edit this page View Source

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int
    Overrides
    object.GetHashCode()
    | Edit this page View Source

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    string
    Overrides
    object.ToString()

    Operators

    | Edit this page View Source

    operator ==(Id, Id)

    Declaration
    public static bool operator ==(Id left, Id right)
    Parameters
    Type Name Description
    Id left
    Id right
    Returns
    Type Description
    bool
    | Edit this page View Source

    implicit operator Id(Guid)

    Declaration
    public static implicit operator Id(Guid id)
    Parameters
    Type Name Description
    Guid id
    Returns
    Type Description
    Id
    | Edit this page View Source

    implicit operator Id(long)

    Declaration
    public static implicit operator Id(long id)
    Parameters
    Type Name Description
    long id
    Returns
    Type Description
    Id
    | Edit this page View Source

    implicit operator Id(string)

    Declaration
    public static implicit operator Id(string id)
    Parameters
    Type Name Description
    string id
    Returns
    Type Description
    Id
    | Edit this page View Source

    operator !=(Id, Id)

    Declaration
    public static bool operator !=(Id left, Id right)
    Parameters
    Type Name Description
    Id left
    Id right
    Returns
    Type Description
    bool

    Implements

    IEquatable<T>
    IUrlParameter

    Extension Methods

    SuffixExtensions.Suffix(object, string)
    • Edit this page
    • View Source
    In this article
    • Constructors
      • Id(long)
      • Id(object)
      • Id(string)
    • Methods
      • Equals(Id)
      • Equals(object)
      • From<T>(T)
      • GetHashCode()
      • ToString()
    • Operators
      • operator ==(Id, Id)
      • implicit operator Id(Guid)
      • implicit operator Id(long)
      • implicit operator Id(string)
      • operator !=(Id, Id)
    • Implements
    • Extension Methods
    Back to top Generated by DocFX