コード例 #1
0
        public static SchemaNaming GetSchemaNaming(Assembly assembly)
        {
            InstrumentedAttribute attribute = InstrumentedAttribute.GetAttribute(assembly);

            if (attribute == null)
            {
                return(null);
            }
            return(new SchemaNaming(attribute.NamespaceName, attribute.SecurityDescriptor, assembly));
        }
コード例 #2
0
        public static SchemaNaming GetSchemaNaming(Assembly assembly)
        {
            InstrumentedAttribute attr = InstrumentedAttribute.GetAttribute(assembly);

            // See if this assembly provides instrumentation
            if (null == attr)
            {
                return(null);
            }

            return(new SchemaNaming(attr.NamespaceName, attr.SecurityDescriptor, assembly));
        }