Class TypeDefinition
represents reflection data for a given type
Inherited Members
Namespace: FastEndpoints
Assembly: FastEndpoints.Attributes.dll
Syntax
public sealed class TypeDefinition
Properties
ObjectFactory
a func for creating a new blank instance of a type
Declaration
public Func<object>? ObjectFactory { get; set; }
Property Value
| Type | Description |
|---|---|
| Func<object> |
Properties
the reflection data for all the properties of a type
Declaration
public ConcurrentDictionary<PropertyInfo, PropertyDefinition>? Properties { get; set; }
Property Value
| Type | Description |
|---|---|
| ConcurrentDictionary<PropertyInfo, PropertyDefinition> |
ValueParser
a func used for converting string values to the respective type by calling it's TryParse() method.
Declaration
public Func<StringValues, ParseResult>? ValueParser { get; set; }
Property Value
| Type | Description |
|---|---|
| Func<StringValues, ParseResult> |