getRequired<T> method

List<T> getRequired <T>(
  1. String name
)

Gets all required dependencies by their name. At least one dependency must be present. If no dependencies was found it throws a ReferenceException

  • name the dependency name to locate. Returns a list with found dependencies.

Throws a ReferenceException if no dependencies were found.