Search Results for

    Show / Hide Table of Contents

    Class OpenSearchUrlFormatter

    A formatter that can utilize IConnectionConfigurationValues to resolve IUrlParameter's passed as format arguments. It also handles known string representations for e.g bool/Enums/IEnumerable<object>.

    Inheritance
    object
    OpenSearchUrlFormatter
    Implements
    IFormatProvider
    ICustomFormatter
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: OpenSearch.Net
    Assembly: OpenSearch.Net.dll
    Syntax
    public class OpenSearchUrlFormatter : IFormatProvider, ICustomFormatter

    Constructors

    | Edit this page View Source

    OpenSearchUrlFormatter(IConnectionConfigurationValues)

    Declaration
    public OpenSearchUrlFormatter(IConnectionConfigurationValues settings)
    Parameters
    Type Name Description
    IConnectionConfigurationValues settings

    Methods

    | Edit this page View Source

    CreateString(object)

    Declaration
    public string CreateString(object value)
    Parameters
    Type Name Description
    object value
    Returns
    Type Description
    string
    | Edit this page View Source

    CreateString(object, IConnectionConfigurationValues)

    Declaration
    public static string CreateString(object value, IConnectionConfigurationValues settings)
    Parameters
    Type Name Description
    object value
    IConnectionConfigurationValues settings
    Returns
    Type Description
    string
    | Edit this page View Source

    Format(string, object, IFormatProvider)

    Declaration
    public string Format(string format, object arg, IFormatProvider formatProvider)
    Parameters
    Type Name Description
    string format
    object arg
    IFormatProvider formatProvider
    Returns
    Type Description
    string
    | Edit this page View Source

    GetFormat(Type)

    Declaration
    public object GetFormat(Type formatType)
    Parameters
    Type Name Description
    Type formatType
    Returns
    Type Description
    object

    Implements

    IFormatProvider
    ICustomFormatter

    Extension Methods

    SuffixExtensions.Suffix(object, string)
    • Edit this page
    • View Source
    In this article
    • Constructors
      • OpenSearchUrlFormatter(IConnectionConfigurationValues)
    • Methods
      • CreateString(object)
      • CreateString(object, IConnectionConfigurationValues)
      • Format(string, object, IFormatProvider)
      • GetFormat(Type)
    • Implements
    • Extension Methods
    Back to top Generated by DocFX