Table of Contents

Class FeatureBase

Namespace
Dynamicweb.Core
Assembly
Dynamicweb.Core.dll

An abstract implementation of a Feature saving the settings in GlobalSettings. Any concrete Feature which needs to be saved in GlobalSettings can inherit this.

public abstract class FeatureBase : Feature
Inheritance
FeatureBase
Derived
Inherited Members

Constructors

FeatureBase(string, string, bool)

An abstract implementation of a Feature saving the settings in GlobalSettings. Any concrete Feature which needs to be saved in GlobalSettings can inherit this.

protected FeatureBase(string name, string category, bool defaultValue)

Parameters

name string
category string
defaultValue bool

Methods

Activate()

public override sealed void Activate()

Deactivate()

public override sealed void Deactivate()

IsActive()

public override sealed bool IsActive()

Returns

bool

SetToDefault()

public override sealed void SetToDefault()
To top