find<T> abstract method

List<T> find<T>(
  1. dynamic locator,
  2. bool required
)

Gets all component references that match specified locator.

  • locator the locator to find a reference by.
  • required forces to raise an exception if no reference is found. Returns a list with matching component references.

Throws a ReferenceException when required is set to true but no references found.

Implementation

List<T> find<T>(locator, bool required);