PageConventionCollectionExtensions.Add Método

Definición

Agrega el objeto especificado convention a conventions. La convención agregada se aplicará a todas las propiedades y parámetros del controlador en los métodos de controlador.

public static Microsoft.AspNetCore.Mvc.ApplicationModels.PageConventionCollection Add (this Microsoft.AspNetCore.Mvc.ApplicationModels.PageConventionCollection conventions, Microsoft.AspNetCore.Mvc.ApplicationModels.IParameterModelBaseConvention convention);
static member Add : Microsoft.AspNetCore.Mvc.ApplicationModels.PageConventionCollection * Microsoft.AspNetCore.Mvc.ApplicationModels.IParameterModelBaseConvention -> Microsoft.AspNetCore.Mvc.ApplicationModels.PageConventionCollection
<Extension()>
Public Function Add (conventions As PageConventionCollection, convention As IParameterModelBaseConvention) As PageConventionCollection

Parámetros

conventions
PageConventionCollection

El objeto PageConventionCollection que se va a configurar.

Devoluciones

PageConventionCollection.

Se aplica a