/// <summary> /// Initializes a new config model. /// Sends the Server a GetConfigCommand. /// </summary> private void Initializer() { Handlers = new List <string>(); string[] arr = new string[1]; CommandRecievedEventArgs request = new CommandRecievedEventArgs((int)CommandEnum.GetConfigCommand, arr, ""); Client.SendCommand(request); }
/// <summary> /// Initializes a new log model. /// Sends the Server a LogCommand to recieve all the logs so far. /// </summary> private void Initializer() { Logs = new List <MessageRecievedEventArgs>(); CommandRecievedEventArgs request = new CommandRecievedEventArgs((int)CommandEnum.LogCommand, null, ""); Client.SendCommand(request); }