WisejResourcesAttribute
Namespace: Wisej.Core
Assembly: Wisej.Framework (4.1.0.0)
Enables automatic resource loading form the assembly.
- C#
- VB.NET
public class WisejResourcesAttribute : Attribute
Public Class WisejResourcesAttribute
Inherits Attribute
Constructors
WisejResourcesAttribute()
Initializes a new instance of WisejResourcesAttribute.
WisejResourcesAttribute(ExcludeList)
Initializes a new instance of WisejResourcesAttribute using the initialization arguments.
| Name | Type | Description |
|---|---|---|
| ExcludeList | String | List of resource files to exclude. |
WisejResourcesAttribute(ExcludeList, RootName)
Initializes a new instance of WisejResourcesAttribute using the initialization arguments.
| Name | Type | Description |
|---|---|---|
| ExcludeList | String | List of resource files to exclude. |
| RootName | String | Default namespace. If left null, it uses the assembly name. |
Properties
ExcludeList
String: List of embedded resource files that are excluded from the bundled js and css in wisej.js and wisej.css.
RootName
String: Default namespace name, or root name of the embedded resources.
Methods
GetAttribute(assembly)
Returns the WisejResourcesAttribute assigned to the specified assembly .
| Parameter | Type | Description |
|---|---|---|
| assembly | Assembly | The assembly for which to retrieve the WisejResourcesAttribute. |
Returns: WisejResourcesAttribute. The instance of the WisejResourcesAttribute assigned to the assembly or null.