VSTalk.Engine.ViewModel.Editors.ClientEditor.ClientEditorViewModel.StartListen C# (CSharp) Method

StartListen() public method

public StartListen ( ) : void
return void
        public void StartListen()
        {
            if (ClientContext != null)
            {
                _stateUnit = ClientContext.SubscribeToChange(() => ClientContext.State,
                        sender => PropertyChanged.Notify(() => IsDisconnected));
            }
        }