public EditorToolFactory Custom(Action<EditorCustomToolBuilder> configurator)
        {
            Guard.IsNotNull(configurator, "configurator");
            var tool = new EditorCustomTool();
            configurator(new EditorCustomToolBuilder(tool));
            group.Tools.Add(tool);

            return this;
        }
Beispiel #2
0
        public EditorToolFactory Custom(Action <EditorCustomToolBuilder> configurator)
        {
            Guard.IsNotNull(configurator, "configurator");
            var tool = new EditorCustomTool();

            configurator(new EditorCustomToolBuilder(tool));
            group.Tools.Add(tool);

            return(this);
        }
 public EditorCustomToolHtmlBuilder(EditorCustomTool tool)
 {
     this.tool = tool;
 }
 public EditorCustomToolHtmlBuilder(EditorCustomTool tool)
 {
     this.tool = tool;
 }