Class VoidEditor
Represents a void editor.
Namespace: Umbraco.Core.PropertyEditors
Assembly: Umbraco.Core.dll
Syntax
public class VoidEditor : DataEditor, IDataEditor, IDiscoverable
Remarks
Can be used in some places where an editor is needed but no actual editor is available. Not to be used otherwise. Not discovered, and therefore not part of the editors collection.
Constructors
View SourceVoidEditor(String, ILogger)
Initializes a new instance of the VoidEditor class.
Declaration
public VoidEditor(string aliasSuffix, ILogger logger)
Parameters
Type | Name | Description |
---|---|---|
System.String | aliasSuffix | An optional alias suffix. |
ILogger | logger | A logger. |
Remarks
The default alias of the editor is "Umbraco.Void". When a suffix is provided, it is appended to the alias. Eg if the suffix is "Foo" the alias is "Umbraco.Void.Foo".
VoidEditor(ILogger)
Initializes a new instance of the VoidEditor class.
Declaration
public VoidEditor(ILogger logger)
Parameters
Type | Name | Description |
---|---|---|
ILogger | logger | A logger. |
Remarks
The alias of the editor is "Umbraco.Void".