Exemple #1
0
 public MessageModel(MessageType messageType, MessageElementType elementType, string message)
 {
     this.MessageType = messageType;
     this.ElementType = elementType;
     this.Message     = message;
 }
Exemple #2
0
 /// <summary>
 /// Instantiate this classed (and its variables) based on the values of another IReply 
 /// </summary>
 /// <param name="reply"></param>
 public MessageReply(IReply reply)
 {
     StructuredResponse = reply.StructuredResponse;
     _Name = reply.Name;
     _Value = reply.Value;
     _Type = reply.ElementType;
     _ErrCode = reply.ErrCode;
     _ErrMsg = reply.ErrMsg;
     //_Contacts = reply.Contacts;
 }