示例#1
0
 public void Close()
 {
     foreach (var pathId in _contextPathIds)
     {
         VirtualRoot.RemoveMessagePath(pathId);
     }
     _contextPathIds.Clear();
     Kill();
 }
示例#2
0
 private void Init()
 {
     foreach (var pathId in _contextPathIds)
     {
         VirtualRoot.RemoveMessagePath(pathId);
     }
     _contextPathIds.Clear();
     this.CoinGroupSet              = new CoinGroupSet(this);
     this.CoinSet                   = new CoinSet(this);
     this.FileWriterSet             = new FileWriterSet(this);
     this.FragmentWriterSet         = new FragmentWriterSet(this);
     this.GroupSet                  = new GroupSet(this);
     this.PoolSet                   = new PoolSet(this);
     this.SysDicItemSet             = new SysDicItemSet(this);
     this.SysDicSet                 = new SysDicSet(this);
     this.CoinKernelSet             = new CoinKernelSet(this);
     this.KernelInputSet            = new KernelInputSet(this);
     this.KernelOutputSet           = new KernelOutputSet(this);
     this.KernelOutputTranslaterSet = new KernelOutputTranslaterSet(this);
     this.KernelSet                 = new KernelSet(this);
     this.PackageSet                = new PackageSet(this);
     this.PoolKernelSet             = new PoolKernelSet(this);
 }