示例#1
0
 public Module()
     : base("Settings")
 {
     this.root = new Root(this);
 }
示例#2
0
 protected internal override void Dispose()
 {
     if (this.editors.NotNull())
     {
         this.editors.Apply(editor => editor.Dispose());
         this.editors = null;
     }
     if (this.root.NotNull())
     {
         this.root.Dispose();
         this.root = null;
     }
     base.Dispose();
 }