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; } }
public void RegisterPlatformCreator(string identifier, IPlatformCreator platformCreator) { this.platforms[identifier] = new PlatformService.PlatformEntry(this, platformCreator); }
public PlatformEntry(PlatformService platformService, IPlatformCreator platformCreator) { this.platformService = platformService; this.platformCreator = platformCreator; }