At.FF.Krems.Config_Gui.BrowserConfigViewModel.DisableEventHandler C# (CSharp) Méthode

DisableEventHandler() public méthode

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

                this.eventHandlerIsEnabled = false;
            }

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