Class SimplePageToolbarContributor
Inheritance
System.Object
SimplePageToolbarContributor
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared.PageToolbars
Assembly: Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared.dll
Syntax
public class SimplePageToolbarContributor : IPageToolbarContributor
Constructors
SimplePageToolbarContributor(Type, Object, Int32, String)
Declaration
public SimplePageToolbarContributor(Type componentType, object argument = null, int order = 0, string requiredPolicyName = null)
Parameters
Type | Name | Description |
---|---|---|
System.Type | componentType | |
System.Object | argument | |
System.Int32 | order | |
System.String | requiredPolicyName |
Properties
Argument
Declaration
public object Argument { get; set; }
Property Value
Type | Description |
---|---|
System.Object |
ComponentType
Declaration
public Type ComponentType { get; }
Property Value
Type | Description |
---|---|
System.Type |
Order
Declaration
public int Order { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
RequiredPolicyName
Declaration
public string RequiredPolicyName { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
ContributeAsync(PageToolbarContributionContext)
Declaration
public Task ContributeAsync(PageToolbarContributionContext context)
Parameters
Type | Name | Description |
---|---|---|
PageToolbarContributionContext | context |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task |
ShouldAddComponentAsync(PageToolbarContributionContext)
Declaration
protected virtual Task<bool> ShouldAddComponentAsync(PageToolbarContributionContext context)
Parameters
Type | Name | Description |
---|---|---|
PageToolbarContributionContext | context |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Boolean> |