public DataReplyException(DataReplyStatus status, string code, string text, long?id, object value) { Status = status; Messages = new [] { new DataReplyMessage { Code = code, Text = text, Id = id, Value = value } }; }
public DataReply(DataReplyStatus status, string code, string text) { Status = status; Messages = new [] { new DataReplyMessage { Code = code, Text = text } }; }
public DataReplyException(DataReplyStatus status, string code, string text, long?id = null) { Status = status; Messages = new [] { new DataReplyMessage { Code = code, Text = text, Id = id } }; }
public DataReply(DataReplyStatus status, DataReplyMessage[] messages) { Status = status; if (messages?.Length > 0) { Messages = messages; } }
public DataReply(DataReplyStatus status, DataReplyMessage message) { Status = status; if (message != null) { Messages = new [] { message } } ; }
public DataReply(DataReplyStatus status) { Status = status; Messages = null; }
public DataReplyException(DataReplyStatus status, DataReplyMessage[] messages) { Status = status; Messages = messages; }
public DataReplyException(DataReplyStatus status, DataReplyMessage replyMessage) { Status = status; Messages = new [] { replyMessage }; }
public DataReplyException(DataReplyStatus status) { Status = status; }