WisejResourcesAttribute
Wisej.Core.WisejResourcesAttribute
Namespace: Wisej.Core
Assembly: Wisej.Framework (3.0.0.0)
Enables automatic resource loading form the assembly.
C#
VB.NET
1
public class WisejResourcesAttribute : Attribute
Copied!
1
Public Class WisejResourcesAttribute
2
Inherits Attribute
Copied!

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.