At.FF.Krems.Config_Gui.BrowserConfigViewModel.DisableEventHandler C# (CSharp) Method

DisableEventHandler() public method

Disables the event handler.
public DisableEventHandler ( ) : void
return void
        public void DisableEventHandler()
        {
            lock (this.eventHandlerIsEnabledLockObject)
            {
                if (!this.eventHandlerIsEnabled)
                {
                    return;
                }

                this.eventHandlerIsEnabled = false;
            }

            this.Config.BrowserRegistry.CollectionChanged -= this.BrowserRegistryOnCollectionChanged;
        }