Compartilhar via


PageConventionCollectionExtensions.AuthorizeFolder Método

Definição

Sobrecargas

AuthorizeFolder(PageConventionCollection, String)

Requer autorização para todas as páginas na pasta especificada.

AuthorizeFolder(PageConventionCollection, String, String)

Requer autorização para todas as páginas na pasta especificada.

AuthorizeFolder(PageConventionCollection, String)

Origem:
PageConventionCollectionExtensions.cs
Origem:
PageConventionCollectionExtensions.cs
Origem:
PageConventionCollectionExtensions.cs

Requer autorização para todas as páginas na pasta especificada.

public static Microsoft.AspNetCore.Mvc.ApplicationModels.PageConventionCollection AuthorizeFolder (this Microsoft.AspNetCore.Mvc.ApplicationModels.PageConventionCollection conventions, string folderPath);
static member AuthorizeFolder : Microsoft.AspNetCore.Mvc.ApplicationModels.PageConventionCollection * string -> Microsoft.AspNetCore.Mvc.ApplicationModels.PageConventionCollection
<Extension()>
Public Function AuthorizeFolder (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

AuthorizeFolder(PageConventionCollection, String, String)

Origem:
PageConventionCollectionExtensions.cs
Origem:
PageConventionCollectionExtensions.cs
Origem:
PageConventionCollectionExtensions.cs

Requer autorização para todas as páginas na pasta especificada.

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

Parâmetros

conventions
PageConventionCollection

O PageConventionCollection a ser configurado.

folderPath
String

O caminho da pasta.

policy
String

A política de autorização.

Retornos

O PageConventionCollection.

Aplica-se a