setReferences static method
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.
references
the references to be set.components
a list of components to set the references to.
See IReferenceable
Implementation
static void setReferences(IReferences references, List components) {
for (var component in components) {
Referencer.setReferencesForOne(references, component);
}
}