示例#1
0
 public void Shutdown()
 {
     if (this.platformCreator != null)
     {
         this.platformCreator.Shutdown();
         this.platformCreator.PlatformCreated   -= new EventHandler <PlatformEventArgs>(this.PlatformCreator_PlatformCreated);
         this.platformCreator.PlatformDisposing -= new EventHandler <PlatformEventArgs>(this.PlatformCreator_PlatformDisposing);
         this.platformCreator = null;
     }
 }
示例#2
0
 public void RegisterPlatformCreator(string identifier, IPlatformCreator platformCreator)
 {
     this.platforms[identifier] = new PlatformService.PlatformEntry(this, platformCreator);
 }
示例#3
0
 public PlatformEntry(PlatformService platformService, IPlatformCreator platformCreator)
 {
     this.platformService = platformService;
     this.platformCreator = platformCreator;
 }