Class FeatureTestPage
Inherited Members
Namespace: Volo.Abp.AspNetCore.Mvc.Features
Assembly: Volo.Abp.AspNetCore.Mvc.Tests.dll
Syntax
public class FeatureTestPage : AbpPageModel, IAsyncPageFilter, IPageFilter, IFilterMetadata
Constructors
FeatureTestPage()
Declaration
public FeatureTestPage()
Methods
OnGetAllowedFeatureAsync()
Declaration
[RequiresFeature(new string[] { "AllowedFeature" })]
public Task OnGetAllowedFeatureAsync()
Returns
Type | Description |
---|---|
Task |
OnGetNoFeature()
Declaration
public ObjectResult OnGetNoFeature()
Returns
Type | Description |
---|---|
ObjectResult |
OnGetNotAllowedFeature()
Declaration
[RequiresFeature(new string[] { "NotAllowedFeature" })]
public ObjectResult OnGetNotAllowedFeature()
Returns
Type | Description |
---|---|
ObjectResult |