public void Replace(ErrorReturn Error, object paramReplace) { if (paramReplace != null) { Error.Message = Error.Message.Replace("[0]", (paramReplace ?? "").ToString()); } }
public MetaError(ErrorReturn error, int?protocolCode) { Error = error; ProtocolCode = protocolCode; }