locate<T> function

T locate<T>()

Shortcut to locate a singleton instance of type T.

Implementation

T locate<T>() => ServiceLocator.I.locate<T>();