Table of Contents

Class ModuleAccessAttribute

Namespace
Dynamicweb.Modules.Annotations
Assembly
Dynamicweb.dll

Provides information about the module active state.

[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)]
public class ModuleAccessAttribute : Attribute
Inheritance
ModuleAccessAttribute
Inherited Members

Constructors

ModuleAccessAttribute()

Initializes a new instance of the ModuleAccessAttribute class.

public ModuleAccessAttribute()

ModuleAccessAttribute(bool)

Initializes a new instance of the ModuleAccessAttribute class.

public ModuleAccessAttribute(bool enabled)

Parameters

enabled bool

if set to true then the module will be active by default. Default value is true.

Properties

Enabled

Gets or sets a value indicating whether the module is active by default.

public bool Enabled { get; set; }

Property Value

bool

true if active; otherwise, false. Default value is true.

See Also

To top