public static GetFormatFromCode ( int code ) : ErrorStatusFormat | ||
code | int | |
return | ErrorStatusFormat |
public static ErrorStatusFormat GetFormatFromCode(int code)
{
foreach (ErrorStatusFormat format in ErrorLists)
if (format.ErrorCode == code)
return format;
return null;
}