Class WidgetAttribute
Inheritance
object
System.Attribute
WidgetAttribute
Inherited Members
System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo, System.Type)
System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo, System.Type, bool)
System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo)
System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo, bool)
System.Attribute.IsDefined(System.Reflection.MemberInfo, System.Type)
System.Attribute.IsDefined(System.Reflection.MemberInfo, System.Type, bool)
System.Attribute.GetCustomAttribute(System.Reflection.MemberInfo, System.Type)
System.Attribute.GetCustomAttribute(System.Reflection.MemberInfo, System.Type, bool)
System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo)
System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo, System.Type)
System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo, System.Type, bool)
System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo, bool)
System.Attribute.IsDefined(System.Reflection.ParameterInfo, System.Type)
System.Attribute.IsDefined(System.Reflection.ParameterInfo, System.Type, bool)
System.Attribute.GetCustomAttribute(System.Reflection.ParameterInfo, System.Type)
System.Attribute.GetCustomAttribute(System.Reflection.ParameterInfo, System.Type, bool)
System.Attribute.GetCustomAttributes(System.Reflection.Module, System.Type)
System.Attribute.GetCustomAttributes(System.Reflection.Module)
System.Attribute.GetCustomAttributes(System.Reflection.Module, bool)
System.Attribute.GetCustomAttributes(System.Reflection.Module, System.Type, bool)
System.Attribute.IsDefined(System.Reflection.Module, System.Type)
System.Attribute.IsDefined(System.Reflection.Module, System.Type, bool)
System.Attribute.GetCustomAttribute(System.Reflection.Module, System.Type)
System.Attribute.GetCustomAttribute(System.Reflection.Module, System.Type, bool)
System.Attribute.GetCustomAttributes(System.Reflection.Assembly, System.Type)
System.Attribute.GetCustomAttributes(System.Reflection.Assembly, System.Type, bool)
System.Attribute.GetCustomAttributes(System.Reflection.Assembly)
System.Attribute.GetCustomAttributes(System.Reflection.Assembly, bool)
System.Attribute.IsDefined(System.Reflection.Assembly, System.Type)
System.Attribute.IsDefined(System.Reflection.Assembly, System.Type, bool)
System.Attribute.GetCustomAttribute(System.Reflection.Assembly, System.Type)
System.Attribute.GetCustomAttribute(System.Reflection.Assembly, System.Type, bool)
System.Attribute.Equals(object)
System.Attribute.GetHashCode()
System.Attribute.Match(object)
System.Attribute.IsDefaultAttribute()
System.Attribute.TypeId
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object, object)
object.ReferenceEquals(object, object)
Namespace: Volo.Abp.AspNetCore.Mvc.UI.Widgets
Assembly: Volo.Abp.AspNetCore.Mvc.UI.Widgets.dll
Syntax
[AttributeUsage(AttributeTargets.Class)]
public class WidgetAttribute : Attribute
Constructors
WidgetAttribute()
Declaration
public WidgetAttribute()
Properties
AutoInitialize
Declaration
public bool AutoInitialize { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
DisplayName
Declaration
public string DisplayName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
DisplayNameResource
Declaration
public Type DisplayNameResource { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Type |
RefreshUrl
Declaration
public string RefreshUrl { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
RequiredPolicies
Declaration
public string[] RequiredPolicies { get; set; }
Property Value
| Type | Description |
|---|---|
| string[] |
RequiresAuthentication
Declaration
public bool RequiresAuthentication { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
ScriptFiles
Declaration
public string[] ScriptFiles { get; set; }
Property Value
| Type | Description |
|---|---|
| string[] |
ScriptTypes
Declaration
public Type[] ScriptTypes { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Type[] |
StyleFiles
Declaration
public string[] StyleFiles { get; set; }
Property Value
| Type | Description |
|---|---|
| string[] |
StyleTypes
Declaration
public Type[] StyleTypes { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Type[] |
Methods
Get(Type)
Declaration
public static WidgetAttribute Get(Type viewComponentType)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Type | viewComponentType |
Returns
| Type | Description |
|---|---|
| WidgetAttribute |
IsWidget(Type)
Declaration
public static bool IsWidget(Type type)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Type | type |
Returns
| Type | Description |
|---|---|
| bool |