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;
        }