System.Configuration.TypeUtil.HasAptcaBit C# (CSharp) 메소드

HasAptcaBit() 개인적인 메소드

private HasAptcaBit ( Assembly assembly ) : bool
assembly System.Reflection.Assembly
리턴 bool
        private static bool HasAptcaBit(Assembly assembly) {
            Object[] attrs = assembly.GetCustomAttributes(
                typeof(System.Security.AllowPartiallyTrustedCallersAttribute), /*inherit*/ false);

            return (attrs != null && attrs.Length > 0);
        }