WisejResourcesAttribute

Wisej.Core.WisejResourcesAttribute

Namespace: Wisej.Core

Assembly: Wisej.Framework (3.1.0.0)

Enables automatic resource loading form the assembly.

public class WisejResourcesAttribute : 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

List of resource files to exclude.

WisejResourcesAttribute(ExcludeList, RootName)

Initializes a new instance of WisejResourcesAttribute using the initialization arguments.

Name
Type
Description

ExcludeList

List of resource files to exclude.

RootName

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

Returns the WisejResourcesAttribute assigned to the specified assembly .

Parameter
Type
Description

assembly

The assembly for which to retrieve the WisejResourcesAttribute.

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

Last updated