Class DescriptorPromiseBase<TDescriptor, TValue>
Inheritance
DescriptorPromiseBase<TDescriptor, TValue>
Assembly: OpenSearch.Client.dll
Syntax
public abstract class DescriptorPromiseBase<TDescriptor, TValue> : IDescriptor, IPromise<TValue> where TDescriptor : DescriptorPromiseBase<TDescriptor, TValue> where TValue : class
Type Parameters
Name |
Description |
TDescriptor |
|
TValue |
|
Constructors
|
Edit this page
View Source
DescriptorPromiseBase(TValue)
Declaration
protected DescriptorPromiseBase(TValue instance)
Parameters
Type |
Name |
Description |
TValue |
instance |
|
Properties
|
Edit this page
View Source
Self
Declaration
protected TDescriptor Self { get; }
Property Value
Type |
Description |
TDescriptor |
|
Methods
|
Edit this page
View Source
Assign(Action<TValue>)
Declaration
protected TDescriptor Assign(Action<TValue> assigner)
Parameters
Type |
Name |
Description |
Action<TValue> |
assigner |
|
Returns
Type |
Description |
TDescriptor |
|
|
Edit this page
View Source
Assign<TNewValue>(TNewValue, Action<TValue, TNewValue>)
Declaration
protected TDescriptor Assign<TNewValue>(TNewValue value, Action<TValue, TNewValue> assigner)
Parameters
Type |
Name |
Description |
TNewValue |
value |
|
Action<TValue, TNewValue> |
assigner |
|
Returns
Type |
Description |
TDescriptor |
|
Type Parameters
Name |
Description |
TNewValue |
|
Implements
Extension Methods