Search Results for

    Show / Hide Table of Contents

    Class TypeDefinition

    represents reflection data for a given type

    Inheritance
    object
    TypeDefinition
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    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>
    In this article
    Back to top Developed by Đĵ ΝιΓΞΗΛψΚ and contributors / Licensed under MIT / Website generated by DocFX