Partilhar via


PageConventionCollectionExtensions.AllowAnonymousToFolder Método

Definição

Permite o acesso anônimo a todas as páginas na pasta especificada.

public static Microsoft.AspNetCore.Mvc.ApplicationModels.PageConventionCollection AllowAnonymousToFolder (this Microsoft.AspNetCore.Mvc.ApplicationModels.PageConventionCollection conventions, string folderPath);
static member AllowAnonymousToFolder : Microsoft.AspNetCore.Mvc.ApplicationModels.PageConventionCollection * string -> Microsoft.AspNetCore.Mvc.ApplicationModels.PageConventionCollection
<Extension()>
Public Function AllowAnonymousToFolder (conventions As PageConventionCollection, folderPath As String) As PageConventionCollection

Parâmetros

conventions
PageConventionCollection

O PageConventionCollection a ser configurado.

folderPath
String

O caminho da pasta.

Retornos

O PageConventionCollection.

Aplica-se a