Search Results for

    Show / Hide Table of Contents

    Class EndpointFactory

    the default endpoint factory. it creates an instance of the endpoint and injects both constructor and property dependencies.

    Inheritance
    object
    EndpointFactory
    Implements
    IEndpointFactory
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: FastEndpoints
    Assembly: FastEndpoints.dll
    Syntax
    public sealed class EndpointFactory : IEndpointFactory

    Methods

    Create(EndpointDefinition, HttpContext)

    this method is called per each request.

    Declaration
    public BaseEndpoint Create(EndpointDefinition definition, HttpContext ctx)
    Parameters
    Type Name Description
    EndpointDefinition definition

    the endpoint definition

    HttpContext ctx

    the http context for the current request

    Returns
    Type Description
    BaseEndpoint

    Implements

    IEndpointFactory
    In this article
    Back to top Developed by Đĵ ΝιΓΞΗΛψΚ and contributors / Licensed under MIT / Website generated by DocFX