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