Class ConfigurationFieldsExtensions
Inheritance
System.Object
Namespace: Umbraco.Core.PropertyEditors
Assembly: Umbraco.Core.dll
Syntax
public static class ConfigurationFieldsExtensions
Methods
View SourceAdd(List<ConfigurationField>, String, String, String, String, IDictionary<String, Object>)
Adds a configuration field.
Declaration
public static void Add(this List<ConfigurationField> fields, string key, string name, string description, string view, IDictionary<string, object> config = null)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<ConfigurationField> | fields | The list of configuration fields. |
System.String | key | The key (alias) of the field. |
System.String | name | The name (label) of the field. |
System.String | description | The description for the field. |
System.String | view | The path to the editor view to be used for the field. |
System.Collections.Generic.IDictionary<System.String, System.Object> | config | Optional configuration used for field's editor. |