Skip to main content
Version: 3.5

WisejResourcesAttribute

Namespace: Wisej.Core

Assembly: Wisej.Framework (3.5.0.0)

Enables automatic resource loading form the assembly.

public class WisejResourcesAttribute : Attribute

Constructors

Instance memberWisejResourcesAttribute()

Initializes a new instance of WisejResourcesAttribute.

Instance memberWisejResourcesAttribute(ExcludeList)

Initializes a new instance of WisejResourcesAttribute using the initialization arguments.

NameTypeDescription
ExcludeListStringList of resource files to exclude.

Instance memberWisejResourcesAttribute(ExcludeList, RootName)

Initializes a new instance of WisejResourcesAttribute using the initialization arguments.

NameTypeDescription
ExcludeListStringList of resource files to exclude.
RootNameStringDefault namespace. If left null, it uses the assembly name.

Properties

Instance memberExcludeList

String: List of embedded resource files that are excluded from the bundled js and css in wisej.js and wisej.css.

Instance memberRootName

String: Default namespace name, or root name of the embedded resources.

Methods

Static memberGetAttribute(assembly)

Returns the WisejResourcesAttribute assigned to the specified assembly .

ParameterTypeDescription
assemblyAssemblyThe assembly for which to retrieve the WisejResourcesAttribute.

Returns: WisejResourcesAttribute. The instance of the WisejResourcesAttribute assigned to the assembly or null.