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

EnableEventHandler() public method

Enables the event handler.
public EnableEventHandler ( ) : void
return void
        public void EnableEventHandler()
        {
            lock (this.eventHandlerIsEnabledLockObject)
            {
                if (this.eventHandlerIsEnabled)
                {
                    return;
                }

                this.eventHandlerIsEnabled = true;
            }

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