Aracılığıyla paylaş


PageConventionCollectionExtensions.AllowAnonymousToFolder Yöntem

Tanım

Belirtilen klasör altındaki tüm sayfalara anonim erişim izni verir.

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

Parametreler

conventions
PageConventionCollection

PageConventionCollection yapılandırılır.

folderPath
String

Klasör yolu.

Döndürülenler

PageConventionCollection.

Şunlara uygulanır