AuntieDot.UI.Wen.Errors.ErrorDB.GetFormatFromCode C# (CSharp) Метод

GetFormatFromCode() публичный статический Метод

public static GetFormatFromCode ( int code ) : ErrorStatusFormat
code int
Результат ErrorStatusFormat
        public static ErrorStatusFormat GetFormatFromCode(int code)
        {
            foreach (ErrorStatusFormat format in ErrorLists)
                if (format.ErrorCode == code)
                    return format;
            return null;
        }