Operator implicit operator
implicit operator FieldDefinition<TDocument, TField>(string)
Performs an implicit conversion from string to FieldDefinition<TDocument, TField>.
Parameters
fieldName
stringName of the field.
Returns
- Field
Definition <TDocument, TField> The result of the conversion.
implicit operator FieldDefinition<TDocument>(FieldDefinition<TDocument, TField>)
Performs an implicit conversion from FieldDefinition<TDocument, TField> to FieldDefinition<TDocument>.
public static implicit operator FieldDefinition<TDocument>(FieldDefinition<TDocument, TField> field)
Parameters
field
FieldDefinition <TDocument, TField>The field.
Returns
- Field
Definition <TDocument> The result of the conversion.