private static string _FindException(OpenCbsDOADeleteExceptionEnum exceptionId) { string returned = String.Empty; switch(exceptionId) { case OpenCbsDOADeleteExceptionEnum.HasChildrens: returned = "DOAExceptionHasChildrens.Text"; break; } return returned; }
private static string _FindException(OpenCbsDOADeleteExceptionEnum exceptionId) { string returned = String.Empty; switch (exceptionId) { case OpenCbsDOADeleteExceptionEnum.HasChildrens: returned = "DOAExceptionHasChildrens.Text"; break; } return(returned); }
public OpenCbsDoaDeleteException(OpenCbsDOADeleteExceptionEnum exceptionCode) { _code = _FindException(exceptionCode); }