Search Results for

    Show / Hide Table of Contents

    Class ObjectPropertyDescriptorBase<TDescriptor, TInterface, TParent, TChild>

    Inheritance
    object
    DescriptorBase<TDescriptor, TInterface>
    PropertyDescriptorBase<TDescriptor, TInterface, TParent>
    CorePropertyDescriptorBase<TDescriptor, TInterface, TParent>
    ObjectPropertyDescriptorBase<TDescriptor, TInterface, TParent, TChild>
    NestedPropertyDescriptor<TParent, TChild>
    ObjectTypeDescriptor<TParent, TChild>
    Implements
    IDescriptor
    IObjectProperty
    ICoreProperty
    IProperty
    IFieldMapping
    Inherited Members
    CorePropertyDescriptorBase<TDescriptor, TInterface, TParent>.Store(bool?)
    CorePropertyDescriptorBase<TDescriptor, TInterface, TParent>.Fields(Func<PropertiesDescriptor<TParent>, IPromise<IProperties>>)
    CorePropertyDescriptorBase<TDescriptor, TInterface, TParent>.Similarity(string)
    CorePropertyDescriptorBase<TDescriptor, TInterface, TParent>.CopyTo(Func<FieldsDescriptor<TParent>, IPromise<Fields>>)
    PropertyDescriptorBase<TDescriptor, TInterface, TParent>.DebugDisplay
    PropertyDescriptorBase<TDescriptor, TInterface, TParent>.TypeOverride
    PropertyDescriptorBase<TDescriptor, TInterface, TParent>.Name(PropertyName)
    PropertyDescriptorBase<TDescriptor, TInterface, TParent>.Name<TValue>(Expression<Func<TParent, TValue>>)
    PropertyDescriptorBase<TDescriptor, TInterface, TParent>.LocalMetadata(Func<FluentDictionary<string, object>, FluentDictionary<string, object>>)
    PropertyDescriptorBase<TDescriptor, TInterface, TParent>.Meta(Func<FluentDictionary<string, string>, FluentDictionary<string, string>>)
    DescriptorBase<TDescriptor, TInterface>.Self
    DescriptorBase<TDescriptor, TInterface>.Assign<TValue>(TValue, Action<TInterface, TValue>)
    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 abstract class ObjectPropertyDescriptorBase<TDescriptor, TInterface, TParent, TChild> : CorePropertyDescriptorBase<TDescriptor, TInterface, TParent>, IDescriptor, IObjectProperty, ICoreProperty, IProperty, IFieldMapping where TDescriptor : ObjectPropertyDescriptorBase<TDescriptor, TInterface, TParent, TChild>, TInterface where TInterface : class, IObjectProperty where TParent : class where TChild : class
    Type Parameters
    Name Description
    TDescriptor
    TInterface
    TParent
    TChild

    Constructors

    | Edit this page View Source

    ObjectPropertyDescriptorBase()

    Declaration
    protected ObjectPropertyDescriptorBase()
    | Edit this page View Source

    ObjectPropertyDescriptorBase(FieldType)

    Declaration
    protected ObjectPropertyDescriptorBase(FieldType fieldType)
    Parameters
    Type Name Description
    FieldType fieldType

    Methods

    | Edit this page View Source

    AutoMap(IPropertyVisitor, int)

    Declaration
    public TDescriptor AutoMap(IPropertyVisitor visitor = null, int maxRecursion = 0)
    Parameters
    Type Name Description
    IPropertyVisitor visitor
    int maxRecursion
    Returns
    Type Description
    TDescriptor
    | Edit this page View Source

    AutoMap(int)

    Declaration
    public TDescriptor AutoMap(int maxRecursion)
    Parameters
    Type Name Description
    int maxRecursion
    Returns
    Type Description
    TDescriptor
    | Edit this page View Source

    Dynamic(Union<bool, DynamicMapping>)

    Whether or not new properties should be added dynamically to an existing object. Default is true

    Declaration
    public TDescriptor Dynamic(Union<bool, DynamicMapping> dynamic)
    Parameters
    Type Name Description
    Union<bool, DynamicMapping> dynamic
    Returns
    Type Description
    TDescriptor
    | Edit this page View Source

    Dynamic(bool)

    Whether or not new properties should be added dynamically to an existing object. Default is true

    Declaration
    public TDescriptor Dynamic(bool dynamic = true)
    Parameters
    Type Name Description
    bool dynamic
    Returns
    Type Description
    TDescriptor
    | Edit this page View Source

    Enabled(bool?)

    Whether the JSON value given for this field should be parsed and indexed. Default is true

    Declaration
    public TDescriptor Enabled(bool? enabled = true)
    Parameters
    Type Name Description
    bool? enabled
    Returns
    Type Description
    TDescriptor
    | Edit this page View Source

    Properties(Func<PropertiesDescriptor<TChild>, IPromise<IProperties>>)

    The fields within the object

    Declaration
    public TDescriptor Properties(Func<PropertiesDescriptor<TChild>, IPromise<IProperties>> selector)
    Parameters
    Type Name Description
    Func<PropertiesDescriptor<TChild>, IPromise<IProperties>> selector
    Returns
    Type Description
    TDescriptor

    Implements

    IDescriptor
    IObjectProperty
    ICoreProperty
    IProperty
    IFieldMapping

    Extension Methods

    SuffixExtensions.Suffix(object, string)
    • Edit this page
    • View Source
    In this article
    • Constructors
      • ObjectPropertyDescriptorBase()
      • ObjectPropertyDescriptorBase(FieldType)
    • Methods
      • AutoMap(IPropertyVisitor, int)
      • AutoMap(int)
      • Dynamic(Union<bool, DynamicMapping>)
      • Dynamic(bool)
      • Enabled(bool?)
      • Properties(Func<PropertiesDescriptor<TChild>, IPromise<IProperties>>)
    • Implements
    • Extension Methods
    Back to top Generated by DocFX