public static SchemaNaming GetSchemaNaming(Assembly assembly) { InstrumentedAttribute attribute = InstrumentedAttribute.GetAttribute(assembly); if (attribute == null) { return(null); } return(new SchemaNaming(attribute.NamespaceName, attribute.SecurityDescriptor, assembly)); }
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)); }