Class ExpressionFieldDefinition<TDocument>
An Expression based field.
public sealed class ExpressionFieldDefinition<TDocument> : FieldDefinition<TDocument>
Type Parameters
TDocument
The type of the document.
- Inheritance
-
FieldDefinition<TDocument>ExpressionFieldDefinition<TDocument>
- Inherited Members
Constructors
- ExpressionFieldDefinition(LambdaExpression)
Initializes a new instance of the ExpressionFieldDefinition<TDocument> class.
Properties
- Expression
Gets the expression.
Methods
- Render(RenderArgs<TDocument>)
Renders the field to a RenderedFieldDefinition.