AcManager.Tools.AcObjectsNew.AcCommonObject.IsSeveralAllowed C# (CSharp) Метод

IsSeveralAllowed() приватный статический Метод

private static IsSeveralAllowed ( AcErrorType errorType ) : bool
errorType AcErrorType
Результат bool
        private static bool IsSeveralAllowed(AcErrorType errorType) {
            var type = typeof(AcErrorType);
            var memInfo = type.GetMember(errorType.ToString());
            return memInfo[0].GetCustomAttributes(typeof(SeveralAllowedAttribute), false).Length > 0;
        }