protected override void Enable() { // This gets the ConsolePlatform instance created by MuffinFramework. // It can throw an exception if the class is not loaded, but we are not // concerned here, as all Platforms are loaded first before a service is. this._console = this.PlatformLoader.Get<ConsolePlatform>(); }
protected override void Enable() { this._console = this.PlatformLoader.Get<ConsolePlatform>(); this._console.OutputRecieved += this._console_OutputRecieved; }