private string _FindException(OpenCbsDisburseExceptionsEnum exceptionId) { string returned = String.Empty; switch(exceptionId) { case OpenCbsDisburseExceptionsEnum.DateIsWrong: returned = "DisburseExceptionDateWrong.Text"; break; } return returned; }
private string _FindException(OpenCbsDisburseExceptionsEnum exceptionId) { string returned = String.Empty; switch (exceptionId) { case OpenCbsDisburseExceptionsEnum.DateIsWrong: returned = "DisburseExceptionDateWrong.Text"; break; } return(returned); }
public OpenCbsDisburseException(OpenCbsDisburseExceptionsEnum exceptionCode) { _code = _FindException(exceptionCode); }