/// <summary>
 /// Return a new Message
 /// </summary>
 /// <param name="ClientType">Client Type for this Log Message</param>
 /// <param name="InstanceId">InstanceId of the Client</param>
 /// <param name="Type">Type of the Message</param>
 /// <param name="Message">Messge Text</param>
 /// <returns>a new Instance of ClientEmulatorLogMessage</returns>
 public static ClientEmulatorLogMessage NewMessage(ClientEmulatorType ClientType, int InstanceId, MessageType MsgType, string Message)
 {
     ClientEmulatorLogMessage msg = new ClientEmulatorLogMessage();
     msg.ClientType = ClientType;
     msg.InstanceId = InstanceId;
     msg.MsgType = MsgType;
     msg.Message = Message;
     return msg;
 }
Exemplo n.º 2
0
        /// <summary>
        /// Return a new Message
        /// </summary>
        /// <param name="ClientType">Client Type for this Log Message</param>
        /// <param name="InstanceId">InstanceId of the Client</param>
        /// <param name="Type">Type of the Message</param>
        /// <param name="Message">Messge Text</param>
        /// <returns>a new Instance of ClientEmulatorLogMessage</returns>
        public static ClientEmulatorLogMessage NewMessage(ClientEmulatorType ClientType, int InstanceId, MessageType MsgType, string Message)
        {
            ClientEmulatorLogMessage msg = new ClientEmulatorLogMessage();

            msg.ClientType = ClientType;
            msg.InstanceId = InstanceId;
            msg.MsgType    = MsgType;
            msg.Message    = Message;
            return(msg);
        }
 public static void Log(ClientEmulatorType ClientType, int InstanceId, MessageType MsgType, string Message)
 {
     Log(ClientEmulatorLogMessage.NewMessage(ClientType, InstanceId, MsgType, Message));
 }
Exemplo n.º 4
0
 public static void Log(ClientEmulatorType ClientType, int InstanceId, MessageType MsgType, string Message)
 {
     Log(ClientEmulatorLogMessage.NewMessage(ClientType, InstanceId, MsgType, Message));
 }