Reference constructor

Reference(dynamic locator dynamic component)

Create a new instance of the reference object and assigns its values.

  • locator a locator to find the reference.
  • reference a reference to component.