protected virtual void Dispose(bool disposing) { if (!this._isDisposed) { this._isDisposed = true; if ((this._inputManager != null) && (this._inputProvider != null)) { this._inputManager.UnregisterInputProvider(this._inputProvider); } this._inputManager = null; this._inputProvider = null; } }
internal InputProviderSite(GHIElectronics.TinyCLR.UI.Input.InputManager inputManager, object inputProvider) { this._inputManager = inputManager ?? throw new ArgumentNullException("inputManager"); this._inputProvider = inputProvider; }