public EMText(EMessage toBeReplied, string text, StatusCode status) : base(toBeReplied)
 {
     Text   = text;
     Status = status;
 }
 public EMText(EMessage toBeReplied, string text) : base(toBeReplied)
 {
     Text   = text;
     Status = toBeReplied.Status;
 }
示例#3
0
 public EMObject(EMessage toreply, T @object) : base(toreply)
 {
     Object = @object;
 }
 public EMessage(EMessage toReply, StatusCode status) : this(toReply)
 {
     Status = status;
 }
 public EMessage(EMessage copyFrom)
 {
     ID     = copyFrom.ID;
     Status = copyFrom.Status;
 }
 public EMError(EMessage toReply, string msg, ErrorCode code = ErrorCode.Default) : base(toReply, msg)
 {
     Status = StatusCode.Denied;
     Code   = code;
 }