Search Results for

    Show / Hide Table of Contents

    Class Context

    Inheritance
    object
    Union<string, GeoLocation>
    Context
    Inherited Members
    Union<string, GeoLocation>.Match(Action<string>, Action<GeoLocation>)
    Union<string, GeoLocation>.Match<T>(Func<string, T>, Func<GeoLocation, T>)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: OpenSearch.Client
    Assembly: OpenSearch.Client.dll
    Syntax
    public class Context : Union<string, GeoLocation>

    Constructors

    | Edit this page View Source

    Context(GeoLocation)

    Declaration
    public Context(GeoLocation geo)
    Parameters
    Type Name Description
    GeoLocation geo
    | Edit this page View Source

    Context(string)

    Declaration
    public Context(string category)
    Parameters
    Type Name Description
    string category

    Properties

    | Edit this page View Source

    Category

    Declaration
    public string Category { get; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    Geo

    Declaration
    public GeoLocation Geo { get; }
    Property Value
    Type Description
    GeoLocation

    Operators

    | Edit this page View Source

    implicit operator Context(GeoLocation)

    Declaration
    public static implicit operator Context(GeoLocation context)
    Parameters
    Type Name Description
    GeoLocation context
    Returns
    Type Description
    Context
    | Edit this page View Source

    implicit operator Context(string)

    Declaration
    public static implicit operator Context(string context)
    Parameters
    Type Name Description
    string context
    Returns
    Type Description
    Context

    Extension Methods

    SuffixExtensions.Suffix(object, string)
    • Edit this page
    • View Source
    In this article
    • Constructors
      • Context(GeoLocation)
      • Context(string)
    • Properties
      • Category
      • Geo
    • Operators
      • implicit operator Context(GeoLocation)
      • implicit operator Context(string)
    • Extension Methods
    Back to top Generated by DocFX