예제 #1
0
        public static new ExampleRootDiagram Create(IElementCreateInfo elementCreateInfo)
        {
            var diagram = new ExampleRootDiagram();

            diagram.Init(elementCreateInfo);
            return(diagram);
        }
예제 #2
0
 protected override void Init(IElementCreateInfo info)
 {
     if (!info.ForParse)
     {
         RootDiagram = new ExampleRootDiagram();
     }
     base.Init(info);
 }