unsetReferences static method

void unsetReferences(
  1. List components
)

Unsets references in multiple components.

To unset references components must implement IUnreferenceable interface. If they don't the call to this method has no effect.

  • components the list of components, whose references must be cleared.

See IUnreferenceable

Implementation

static void unsetReferences(List components) {
  for (var component in components) {
    Referencer.unsetReferencesForOne(component);
  }
}