getRequired<T> abstract method

List<T> getRequired<T>(
  1. dynamic locator
)

Gets all component references that match specified locator. At least one component reference must be present. If it doesn't the method throws an error.

  • locator the locator to find references by. Returns a list with matching component references.

Throws a ReferenceException when no references found.

Implementation

List<T> getRequired<T>(locator);