Class ConstantSetFieldDefinition<TDocument, TField>
A SetFieldDefinition that uses a field and a a constant to define the field to be set.
public sealed class ConstantSetFieldDefinition<TDocument, TField> : SetFieldDefinition<TDocument>
Type Parameters
TDocument
The type of the document.
TField
The type of the field.
- Inheritance
-
SetFieldDefinition<TDocument>ConstantSetFieldDefinition<TDocument, TField>
- Inherited Members
Constructors
- ConstantSetFieldDefinition(FieldDefinition<TDocument, TField>, TField)
Initializes an instance of ConstantSetFieldDefinition.
Methods
- Render(RenderArgs<TDocument>)
Renders the SetFieldDefinition.