Service. Resolve<T>(DependencyFetchTarget) Method
The method to use to resolve dependencies by type.
public static T Resolve<T> (Xamarin.Forms.DependencyFetchTarget fallbackFetchTarget = Xamarin.Forms.DependencyFetchTarget.GlobalInstance) where T : class;
static member Resolve : Xamarin.Forms.DependencyFetchTarget -> 'T (requires 'T : null)
The type to resolve.
The fetch target to use if fetching initially fails.
The resolved dependency instance.