Class GetProjectSettingsEndpoint
GET /api/projects/{id}/settings - Get project settings.
public class GetProjectSettingsEndpoint : EndpointWithoutRequest<GetProjectSettingsResponse>, IEndpoint, IEventBus, IServiceResolverBase, INoRequest
- Inheritance
-
BaseEndpointEndpointWithoutRequest<GetProjectSettingsResponse>GetProjectSettingsEndpoint
- Implements
-
IEndpointIEventBusIServiceResolverBaseINoRequest
- Inherited Members
-
Endpoint<EmptyRequest, GetProjectSettingsResponse>.TryResolve<TService>()Endpoint<EmptyRequest, GetProjectSettingsResponse>.Resolve<TService>()Endpoint<EmptyRequest, GetProjectSettingsResponse>.CreateScope()Endpoint<EmptyRequest, GetProjectSettingsResponse>.ProcessorState<TState>()Endpoint<EmptyRequest, GetProjectSettingsResponse>.OnBeforeValidate(EmptyRequest)Endpoint<EmptyRequest, GetProjectSettingsResponse>.OnAfterValidate(EmptyRequest)Endpoint<EmptyRequest, GetProjectSettingsResponse>.OnBeforeHandle(EmptyRequest)Endpoint<EmptyRequest, GetProjectSettingsResponse>.OnAfterHandle(EmptyRequest, GetProjectSettingsResponse)Endpoint<EmptyRequest, GetProjectSettingsResponse>.OnValidationFailed()Endpoint<EmptyRequest, GetProjectSettingsResponse>.AllowAnonymous(params Http[])Endpoint<EmptyRequest, GetProjectSettingsResponse>.DontAutoSendResponse()Endpoint<EmptyRequest, GetProjectSettingsResponse>.DontAutoTag()Endpoint<EmptyRequest, GetProjectSettingsResponse>.DontCatchExceptions()Endpoint<EmptyRequest, GetProjectSettingsResponse>.DontThrowIfValidationFails()Endpoint<EmptyRequest, GetProjectSettingsResponse>.EnableAntiforgery()Endpoint<EmptyRequest, GetProjectSettingsResponse>.Group<TEndpointGroup>()Endpoint<EmptyRequest, GetProjectSettingsResponse>.PostProcessor<TPostProcessor>()Endpoint<EmptyRequest, GetProjectSettingsResponse>.PostProcessors(params IPostProcessor<EmptyRequest, GetProjectSettingsResponse>[])Endpoint<EmptyRequest, GetProjectSettingsResponse>.PreProcessor<TPreProcessor>()Endpoint<EmptyRequest, GetProjectSettingsResponse>.PreProcessors(params IPreProcessor<EmptyRequest>[])Endpoint<EmptyRequest, GetProjectSettingsResponse>.RequestBinder(IRequestBinder<EmptyRequest>)Endpoint<EmptyRequest, GetProjectSettingsResponse>.ResponseInterceptor(IResponseInterceptor)Endpoint<EmptyRequest, GetProjectSettingsResponse>.SerializerContext<TContext>(TContext)Endpoint<EmptyRequest, GetProjectSettingsResponse>.SerializerContext<TContext>()Endpoint<EmptyRequest, GetProjectSettingsResponse>.Summary(EndpointSummary)Endpoint<EmptyRequest, GetProjectSettingsResponse>.Validator<TValidator>()Endpoint<EmptyRequest, GetProjectSettingsResponse>.Verbs(params Http[])Endpoint<EmptyRequest, GetProjectSettingsResponse>.AddError(ValidationFailure)Endpoint<EmptyRequest, GetProjectSettingsResponse>.UserEndpoint<EmptyRequest, GetProjectSettingsResponse>.ResponseEndpoint<EmptyRequest, GetProjectSettingsResponse>.ConfigEndpoint<EmptyRequest, GetProjectSettingsResponse>.EnvEndpoint<EmptyRequest, GetProjectSettingsResponse>.LoggerEndpoint<EmptyRequest, GetProjectSettingsResponse>.BaseURLEndpoint<EmptyRequest, GetProjectSettingsResponse>.HttpMethodEndpoint<EmptyRequest, GetProjectSettingsResponse>.FormEndpoint<EmptyRequest, GetProjectSettingsResponse>.FilesEndpoint<EmptyRequest, GetProjectSettingsResponse>.ResponseStartedEndpoint<EmptyRequest, GetProjectSettingsResponse>.ValidationFailedBaseEndpoint.Group<TEndpointGroup>()BaseEndpoint.DefinitionBaseEndpoint.HttpContextBaseEndpoint.ValidationFailures
Constructors
GetProjectSettingsEndpoint(IProjectService)
public GetProjectSettingsEndpoint(IProjectService projectService)
Parameters
projectServiceIProjectService
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.
public override void Configure()
HandleAsync(CancellationToken)
the handler method for the endpoint. this method is called for each request received.
public override Task HandleAsync(CancellationToken ct)
Parameters
ctCancellationTokena cancellation token