Share via


PageConventionCollectionExtensions.AllowAnonymousToFolder Méthode

Définition

Autorise l’accès anonyme à toutes les pages du dossier spécifié.

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

Paramètres

folderPath
String

Chemin d’accès au dossier.

Retours

L’PageConventionCollectionopérateur

S’applique à