Ejemplo n.º 1
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;
        }
Ejemplo n.º 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;
 }