/// <summary>
 /// Gets all component references that match specified locator.
 /// </summary>
 /// <typeparam name="T">the class type</typeparam>
 /// <param name="locator">the locator to find a reference by.</param>
 /// <param name="required">forces to raise an exception if no reference is found.</param>
 /// <returns>a list with matching component references.</returns>
 public virtual List <T> Find <T>(object locator, bool required)
 {
     return(BaseReferences.Find <T>(locator, required));
 }
 public virtual List <T> Find <T>(ReferenceQuery query, bool required)
 {
     return(BaseReferences.Find <T>(query, required));
 }