Search Results for

    Show / Hide Table of Contents

    Class Endpoint<TRequest>

    use this base class for defining endpoints that only use a request dto and don't use a response dto.

    Inheritance
    System.Object
    BaseEndpoint
    Endpoint<TRequest, System.Object>
    Endpoint<TRequest>
    Implements
    IEndpoint
    IEventBus
    IServiceResolverBase
    Inherited Members
    Endpoint<TRequest, Object>.HandleAsync(TRequest, CancellationToken)
    Endpoint<TRequest, Object>.ExecuteAsync(TRequest, CancellationToken)
    Endpoint<TRequest, Object>.TryResolve<TService>()
    Endpoint<TRequest, Object>.TryResolve(Type)
    Endpoint<TRequest, Object>.Resolve<TService>()
    Endpoint<TRequest, Object>.Resolve(Type)
    Endpoint<TRequest, Object>.CreateScope()
    Endpoint<TRequest, Object>.Route<T>(String, Boolean)
    Endpoint<TRequest, Object>.Query<T>(String, Boolean)
    Endpoint<TRequest, Object>.FormFileSectionsAsync(CancellationToken)
    Endpoint<TRequest, Object>.PublishAsync<TEvent>(TEvent, Mode, CancellationToken)
    Endpoint<TRequest, Object>.CreateTokenWith<TService>(String, Action<UserPrivileges>)
    Endpoint<TRequest, Object>.ProcessorState<TState>()
    Endpoint<TRequest, Object>.OnBeforeValidate(TRequest)
    Endpoint<TRequest, Object>.OnBeforeValidateAsync(TRequest, CancellationToken)
    Endpoint<TRequest, Object>.OnAfterValidate(TRequest)
    Endpoint<TRequest, Object>.OnAfterValidateAsync(TRequest, CancellationToken)
    Endpoint<TRequest, Object>.OnBeforeHandle(TRequest)
    Endpoint<TRequest, Object>.OnBeforeHandleAsync(TRequest, CancellationToken)
    Endpoint<TRequest, Object>.OnAfterHandle(TRequest, Object)
    Endpoint<TRequest, Object>.OnAfterHandleAsync(TRequest, Object, CancellationToken)
    Endpoint<TRequest, Object>.OnValidationFailed()
    Endpoint<TRequest, Object>.OnValidationFailedAsync(CancellationToken)
    Endpoint<TRequest, Object>.User
    Endpoint<TRequest, Object>.Response
    Endpoint<TRequest, Object>.Config
    Endpoint<TRequest, Object>.Env
    Endpoint<TRequest, Object>.Logger
    Endpoint<TRequest, Object>.BaseURL
    Endpoint<TRequest, Object>.HttpMethod
    Endpoint<TRequest, Object>.Form
    Endpoint<TRequest, Object>.Files
    Endpoint<TRequest, Object>.ResponseStarted
    Endpoint<TRequest, Object>.SendAsync(Object, Int32, CancellationToken)
    Endpoint<TRequest, Object>.SendInterceptedAsync(Object, Int32, CancellationToken)
    Endpoint<TRequest, Object>.SendCreatedAtAsync<TEndpoint>(Object, Object, Nullable<Http>, Nullable<Int32>, Boolean, CancellationToken)
    Endpoint<TRequest, Object>.SendCreatedAtAsync(String, Object, Object, Boolean, CancellationToken)
    Endpoint<TRequest, Object>.SendStringAsync(String, Int32, String, CancellationToken)
    Endpoint<TRequest, Object>.SendOkAsync(Object, CancellationToken)
    Endpoint<TRequest, Object>.SendOkAsync(CancellationToken)
    Endpoint<TRequest, Object>.SendErrorsAsync(Int32, CancellationToken)
    Endpoint<TRequest, Object>.SendNoContentAsync(CancellationToken)
    Endpoint<TRequest, Object>.SendNotFoundAsync(CancellationToken)
    Endpoint<TRequest, Object>.SendUnauthorizedAsync(CancellationToken)
    Endpoint<TRequest, Object>.SendForbiddenAsync(CancellationToken)
    Endpoint<TRequest, Object>.SendRedirectAsync(String, Boolean, CancellationToken)
    Endpoint<TRequest, Object>.SendHeadersAsync(Action<IHeaderDictionary>, Int32, CancellationToken)
    Endpoint<TRequest, Object>.SendBytesAsync(Byte[], String, String, Nullable<DateTimeOffset>, Boolean, CancellationToken)
    Endpoint<TRequest, Object>.SendFileAsync(FileInfo, String, Nullable<DateTimeOffset>, Boolean, CancellationToken)
    Endpoint<TRequest, Object>.SendStreamAsync(Stream, String, Nullable<Int64>, String, Nullable<DateTimeOffset>, Boolean, CancellationToken)
    Endpoint<TRequest, Object>.SendEventStreamAsync<T>(String, IAsyncEnumerable<T>, CancellationToken)
    Endpoint<TRequest, Object>.SendEmptyJsonObject(CancellationToken)
    Endpoint<TRequest, Object>.AllowAnonymous(Http[])
    Endpoint<TRequest, Object>.AllowAnonymous(String[])
    Endpoint<TRequest, Object>.AllowFileUploads(Boolean)
    Endpoint<TRequest, Object>.AllowFormData()
    Endpoint<TRequest, Object>.AuthSchemes(String[])
    Endpoint<TRequest, Object>.Claims(String[])
    Endpoint<TRequest, Object>.ClaimsAll(String[])
    Endpoint<TRequest, Object>.Delete(String[])
    Endpoint<TRequest, Object>.Delete(String, Expression<Func<TRequest, Object>>)
    Endpoint<TRequest, Object>.Description(Action<RouteHandlerBuilder>, Boolean)
    Endpoint<TRequest, Object>.DontAutoTag()
    Endpoint<TRequest, Object>.DontCatchExceptions()
    Endpoint<TRequest, Object>.DontThrowIfValidationFails()
    Endpoint<TRequest, Object>.Get(String[])
    Endpoint<TRequest, Object>.Get(String, Expression<Func<TRequest, Object>>)
    Endpoint<TRequest, Object>.Group<TEndpointGroup>()
    Endpoint<TRequest, Object>.Head(String[])
    Endpoint<TRequest, Object>.Head(String, Expression<Func<TRequest, Object>>)
    Endpoint<TRequest, Object>.Options(Action<RouteHandlerBuilder>)
    Endpoint<TRequest, Object>.Patch(String[])
    Endpoint<TRequest, Object>.Patch(String, Expression<Func<TRequest, Object>>)
    Endpoint<TRequest, Object>.Permissions(String[])
    Endpoint<TRequest, Object>.PermissionsAll(String[])
    Endpoint<TRequest, Object>.Policy(Action<AuthorizationPolicyBuilder>)
    Endpoint<TRequest, Object>.Policies(String[])
    Endpoint<TRequest, Object>.Post(String[])
    Endpoint<TRequest, Object>.Post(String, Expression<Func<TRequest, Object>>)
    Endpoint<TRequest, Object>.PostProcessors(IPostProcessor<TRequest, Object>[])
    Endpoint<TRequest, Object>.PreProcessors(IPreProcessor<TRequest>[])
    Endpoint<TRequest, Object>.Put(String[])
    Endpoint<TRequest, Object>.Put(String, Expression<Func<TRequest, Object>>)
    Endpoint<TRequest, Object>.RequestBinder(IRequestBinder<TRequest>)
    Endpoint<TRequest, Object>.ResponseCache(Int32, ResponseCacheLocation, Boolean, String, String[])
    Endpoint<TRequest, Object>.ResponseInterceptor(IResponseInterceptor)
    Endpoint<TRequest, Object>.Roles(String[])
    Endpoint<TRequest, Object>.RoutePrefixOverride(String)
    Endpoint<TRequest, Object>.Routes(String[])
    Endpoint<TRequest, Object>.SerializerContext<TContext>(TContext)
    Endpoint<TRequest, Object>.Summary(Action<EndpointSummary>)
    Endpoint<TRequest, Object>.Summary(Action<EndpointSummary<TRequest>>)
    Endpoint<TRequest, Object>.Summary(EndpointSummary)
    Endpoint<TRequest, Object>.Tags(String[])
    Endpoint<TRequest, Object>.Throttle(Int32, Double, String)
    Endpoint<TRequest, Object>.Validator<TValidator>()
    Endpoint<TRequest, Object>.Verbs(Http[])
    Endpoint<TRequest, Object>.Verbs(String[])
    Endpoint<TRequest, Object>.Version(Int32, Nullable<Int32>)
    Endpoint<TRequest, Object>.ValidationFailed
    Endpoint<TRequest, Object>.AddError(String, String, Severity)
    Endpoint<TRequest, Object>.AddError(Expression<Func<TRequest, Object>>, String, String, Severity)
    Endpoint<TRequest, Object>.ThrowError(String)
    Endpoint<TRequest, Object>.ThrowError(Expression<Func<TRequest, Object>>, String)
    Endpoint<TRequest, Object>.ThrowIfAnyErrors()
    BaseEndpoint.Definition
    BaseEndpoint.HttpContext
    BaseEndpoint.ValidationFailures
    BaseEndpoint.Configure()
    BaseEndpoint.Verbs(String[])
    BaseEndpoint.Group<TEndpointGroup>()
    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 Endpoint<TRequest> : Endpoint<TRequest, object>, IEndpoint, IEventBus, IServiceResolverBase
    Type Parameters
    Name Description
    TRequest

    the type of the request dto

    Implements

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