Compartir a través de


AspNetCoreFeatureManagementBuilderExtensions.UseDisabledFeaturesHandler Método

Definición

Sobrecargas

UseDisabledFeaturesHandler(IFeatureManagementBuilder, IDisabledFeaturesHandler)

Registra un controlador de características deshabilitado. Esto se invocará para las acciones de MVC que requieren una característica que no está habilitada.

UseDisabledFeaturesHandler(IFeatureManagementBuilder, Action<IEnumerable<String>,ActionExecutingContext>)

Proporciona una manera de especificar un controlador de características deshabilitado insertado.

UseDisabledFeaturesHandler(IFeatureManagementBuilder, IDisabledFeaturesHandler)

Registra un controlador de características deshabilitado. Esto se invocará para las acciones de MVC que requieren una característica que no está habilitada.

public static Microsoft.FeatureManagement.IFeatureManagementBuilder UseDisabledFeaturesHandler (this Microsoft.FeatureManagement.IFeatureManagementBuilder builder, Microsoft.FeatureManagement.Mvc.IDisabledFeaturesHandler disabledFeaturesHandler);
static member UseDisabledFeaturesHandler : Microsoft.FeatureManagement.IFeatureManagementBuilder * Microsoft.FeatureManagement.Mvc.IDisabledFeaturesHandler -> Microsoft.FeatureManagement.IFeatureManagementBuilder
<Extension()>
Public Function UseDisabledFeaturesHandler (builder As IFeatureManagementBuilder, disabledFeaturesHandler As IDisabledFeaturesHandler) As IFeatureManagementBuilder

Parámetros

builder
IFeatureManagementBuilder

Generador de administración de características.

disabledFeaturesHandler
IDisabledFeaturesHandler

Controlador de características deshabilitado.

Devoluciones

Generador de administración de características.

Se aplica a

UseDisabledFeaturesHandler(IFeatureManagementBuilder, Action<IEnumerable<String>,ActionExecutingContext>)

Proporciona una manera de especificar un controlador de características deshabilitado insertado.

public static Microsoft.FeatureManagement.IFeatureManagementBuilder UseDisabledFeaturesHandler (this Microsoft.FeatureManagement.IFeatureManagementBuilder builder, Action<System.Collections.Generic.IEnumerable<string>,Microsoft.AspNetCore.Mvc.Filters.ActionExecutingContext> handler);
static member UseDisabledFeaturesHandler : Microsoft.FeatureManagement.IFeatureManagementBuilder * Action<seq<string>, Microsoft.AspNetCore.Mvc.Filters.ActionExecutingContext> -> Microsoft.FeatureManagement.IFeatureManagementBuilder
<Extension()>
Public Function UseDisabledFeaturesHandler (builder As IFeatureManagementBuilder, handler As Action(Of IEnumerable(Of String), ActionExecutingContext)) As IFeatureManagementBuilder

Parámetros

builder
IFeatureManagementBuilder

Generador de administración de características.

handler
Action<IEnumerable<String>,ActionExecutingContext>

Controlador en línea para las características deshabilitadas.

Devoluciones

Generador de administración de características.

Se aplica a