Table of Contents

Class SettingsAttribute

Namespace
Dynamicweb.Extensibility.Settings
Assembly
Dynamicweb.Core.dll
[AttributeUsage(AttributeTargets.Property)]
public class SettingsAttribute : Attribute
Inheritance
SettingsAttribute
Inherited Members

Constructors

SettingsAttribute(string)

public SettingsAttribute(string path)

Parameters

path string

SettingsAttribute(string, bool)

public SettingsAttribute(string path, bool defaultValue)

Parameters

path string
defaultValue bool

SettingsAttribute(string, double)

public SettingsAttribute(string path, double defaultValue)

Parameters

path string
defaultValue double

SettingsAttribute(string, int)

public SettingsAttribute(string path, int defaultValue)

Parameters

path string
defaultValue int

SettingsAttribute(string, long)

public SettingsAttribute(string path, long defaultValue)

Parameters

path string
defaultValue long

SettingsAttribute(string, string)

public SettingsAttribute(string path, string defaultValue)

Parameters

path string
defaultValue string

Properties

DefaultValue

Gets the default value of the setting.

public IConvertible? DefaultValue { get; }

Property Value

IConvertible

Path

Gets the path to the setting.

public string Path { get; }

Property Value

string
To top