Ejemplo n.º 1
0
        /// <summary>
        /// Connects to the server
        /// </summary>
        public void ConnectToServer()
        {
            Connect c = Connect.Instance;

            c.SubscribeToMessage(this);
            SetConfig(c);
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Creates the log model
 /// </summary>
 public LogModel()
 {
     ListCommands = new ObservableCollection <CommandInfo>();
     BindingOperations.EnableCollectionSynchronization(ListCommands, lockObj);
     c.SubscribeToMessage(this);
     ConnectToServer();
 }