Table of Contents

Class EditorConfiguration

Namespace
Dynamicweb.Modules.UserManagement
Assembly
Dynamicweb.dll
This class contains functions to handle with configuration.
public class EditorConfiguration
Inheritance
EditorConfiguration
Inherited Members

Constructors

EditorConfiguration()

Default constructor
public EditorConfiguration()

EditorConfiguration(int)

Initialize new instance of EditorConfiguration class.
public EditorConfiguration(int id)

Parameters

id int
Identifier

Properties

AddInProviderName

Gets or sets add-in provider name
public string AddInProviderName { get; set; }

Property Value

string

Configuration

Load new Configuration properties.
public Properties Configuration { get; set; }

Property Value

Properties
Properties

ConfigurationType

Gets or sets configuration type
public string ConfigurationType { get; set; }

Property Value

string
String value

ID

Stores and retrieves _id value.
public int ID { get; set; }

Property Value

int
Integer

IsDefault

Gets or sets IsDefault property value
public bool IsDefault { get; set; }

Property Value

bool
True or false

Name

Stores and retrieves _name value.
public string Name { get; set; }

Property Value

string
String

XmlConfiguration

Stores and retrieves xml configuration value.
public string XmlConfiguration { get; set; }

Property Value

string
String

Methods

Delete()

Deletes current editor configuration
public void Delete()

Delete(int)

Deletes editor configuration with specific identifier
public static void Delete(int deleteId)

Parameters

deleteId int
Identifier of editor configuration to be deleted

Fill(IDataReader)

Assigns EditorConfiguration class properties.
public void Fill(IDataReader dataReader)

Parameters

dataReader IDataReader
IDataReader

GetAllEditorConfigurations()

Returns all EditorConfigurations.
public static List<EditorConfiguration> GetAllEditorConfigurations()

Returns

List<EditorConfiguration>

GetAllEditorConfigurations(bool)

Returns all Provider Based or old EditorConfigurations.
public static IEnumerable<EditorConfiguration> GetAllEditorConfigurations(bool getProviderBasedEditorConfigurations)

Parameters

getProviderBasedEditorConfigurations bool

Returns

IEnumerable<EditorConfiguration>

Save()

Saves data to the DataManager.
public void Save()

SetAsDefault()

Sets current editor configuration as default
public void SetAsDefault()
To top