예제 #1
0
 public MsgObject(MsgTargetType targetType, string[] target, string from, MsgBody msgBody, object ext = null)
 {
     this.TargetType = targetType;
     this.Target     = target;
     this.From       = from;
     this.MsgBody    = msgBody;
     this.Ext        = ext ?? new { };
 }
예제 #2
0
 public MsgObject(MsgTargetType targetType, string[] target, MsgBody msgBody, object ext = null)
     : this(targetType, target, "admin", msgBody, ext)
 {
 }