View Source
Class ConfigurationEditor<TConfiguration>
Represents a data type configuration editor with a typed configuration.
Inheritance
System.Object
Assembly: Umbraco.Core.dll
Syntax
public abstract class ConfigurationEditor<TConfiguration> : ConfigurationEditor, IConfigurationEditor where TConfiguration : new()
Type Parameters
Name |
Description |
TConfiguration |
|
Constructors
View Source
ConfigurationEditor(IIOHelper)
Declaration
protected ConfigurationEditor(IIOHelper ioHelper)
Parameters
Methods
View Source
AsConfigurationObject(IDictionary<String, Object>, IConfigurationEditorJsonSerializer)
Declaration
protected TConfiguration AsConfigurationObject(IDictionary<string, object> configuration, IConfigurationEditorJsonSerializer configurationEditorJsonSerializer)
Parameters
Returns
Type |
Description |
TConfiguration |
|
View Source
ToConfigurationObject(IDictionary<String, Object>, IConfigurationEditorJsonSerializer)
Creates a configuration object from the configuration data.
Declaration
public override object ToConfigurationObject(IDictionary<string, object> configuration, IConfigurationEditorJsonSerializer configurationEditorJsonSerializer)
Parameters
Type |
Name |
Description |
IDictionary<System.String, System.Object> |
configuration |
The configuration data.
|
IConfigurationEditorJsonSerializer |
configurationEditorJsonSerializer |
The configuration serializer.
|
Returns
Type |
Description |
System.Object |
|