public FullyQualifiedNameBase(Type type) { object[] attributes = type.GetCustomAttributes(typeof (ComponentIdentityAttribute), true); _fullyQualifiedName = ((ComponentIdentityAttribute) attributes[0]).FullyQualifiedName; }