public static void UseServerCallWriter <T>(this DryvDynamicControllerOptions options) where T : IDryvClientServerCallWriter { options.DynamicControllerCallWriterType = typeof(T); }
public static void MapActionFilters(this DryvDynamicControllerOptions options, Func <DryvControllerGenerationContext, IEnumerable <Expression <Func <Attribute> > > > filters) { FilterExpressionValidator.ValidateFilterExpressions(filters); options.MapActionFilters = filters; }
public static void MapRouteTemplate(this DryvDynamicControllerOptions options, Func <DryvControllerGenerationContext, string> template) { options.MapRouteTemplate = template; }
public static void MapEndpoint(this DryvDynamicControllerOptions options, Action <DryvControllerGenerationContext, IEndpointRouteBuilder> mapper) { options.MapEndpoint = mapper; }