code: def register_class(self, class_type, component_scope=scope.InstancePerDependency, register_as=None):
          
          registration = _ConstructorRegistration(class_type, component_scope())
          self._register(class_type, registration, register_as)
docs: Registers the given class for creation via its constructor.
          :param class_type: The class type.
          :param component_scope: The scope of the component, defaults to instance per dependency.
          :param register_as: The types to register the class as, defaults to the given class_type.