コード例 #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;
        }
コード例 #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);
        }
コード例 #3
0
 public EditorCustomToolHtmlBuilder(EditorCustomTool tool)
 {
     this.tool = tool;
 }
コード例 #4
0
 public EditorCustomToolHtmlBuilder(EditorCustomTool tool)
 {
     this.tool = tool;
 }