Search Results for

    Show / Hide Table of Contents

    Class BaseEndpoint

    the base class all fast endpoints inherit from

    Inheritance
    System.Object
    BaseEndpoint
    Endpoint<TRequest, TResponse>
    Implements
    IEndpoint
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: FastEndpoints
    Assembly: FastEndpoints.dll
    Syntax
    public abstract class BaseEndpoint : IEndpoint

    Properties

    Definition

    the base class all fast endpoints inherit from

    Declaration
    public EndpointDefinition Definition { get; }
    Property Value
    Type Description
    EndpointDefinition

    HttpContext

    the base class all fast endpoints inherit from

    Declaration
    public HttpContext HttpContext { get; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Http.HttpContext

    ValidationFailures

    the base class all fast endpoints inherit from

    Declaration
    public List<ValidationFailure> ValidationFailures { get; }
    Property Value
    Type Description
    System.Collections.Generic.List<FluentValidation.Results.ValidationFailure>

    Methods

    Configure()

    use this method to configure how the endpoint should be listening to incoming requests.

    HINT: it is only called once during endpoint auto registration during app startup.

    Declaration
    public virtual void Configure()

    Group<TEndpointGroup>()

    the base class all fast endpoints inherit from

    Declaration
    protected virtual void Group<TEndpointGroup>()
        where TEndpointGroup : Group, new()
    Type Parameters
    Name Description
    TEndpointGroup

    Verbs(String[])

    the base class all fast endpoints inherit from

    Declaration
    public virtual void Verbs(params string[] methods)
    Parameters
    Type Name Description
    System.String[] methods

    Implements

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