PageConventionCollectionExtensions.Add Método

Definição

Adiciona o especificado convention a conventions. A convenção adicionada se aplicará a todas as propriedades e parâmetros do manipulador em métodos de manipulador.

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

O PageConventionCollection a ser configurado.

Retornos

O PageConventionCollection.

Aplica-se a