code: def set_references(references, components):
          
          if components == None:
              return
  
          for component in components:
              Referencer.set_references_for_one(references, component)
docs: Sets references to multiple components.
  
          To set references components must implement [[IReferenceable]] interface.
          If they don't the call to this method has no effect.
  
          :param references: the references to be set.
  
          :param components: a list of components to set the references to.