namespace NpgsqlRest { public interface IEndpointCreateHandler { /// /// Before creating endpoints. /// /// current application builder /// current NpgsqlRest options void Setup(IApplicationBuilder builder, NpgsqlRestOptions options) { } /// /// After successful endpoint creation. /// void Handle(RoutineEndpoint endpoint) { } /// /// After all endpoints are created. /// void Cleanup(RoutineEndpoint[] endpoints) { } /// /// After all endpoints are created. /// void Cleanup() { } } }