Partager via


DependencyService.RegisterSingleton<T>(T) Method

Definition

public static void RegisterSingleton<T> (T instance) where T : class;
static member RegisterSingleton : 'T -> unit (requires 'T : null)

Type Parameters

T

Parameters

instance
T

Applies to