protected EditorResult Editor(ElementEditorContext context, params dynamic[] editorShapes) { foreach (var editorShape in editorShapes) { if (String.IsNullOrWhiteSpace(editorShape.Metadata.Position)) { editorShape.Metadata.Position = "Properties:0"; } } var result = new EditorResult { Editors = editorShapes.ToList() }; return(result); }
public ElementEditorContext() { EditorResult = new EditorResult(); }