DependencyService.Register Method

Definition

Overloads

Register(Assembly[])
Register<T,TImpl>()
Register<T>()

Register(Assembly[])

Source:
DependencyService.cs
Source:
DependencyService.cs
public:
 static void Register(cli::array <System::Reflection::Assembly ^> ^ assemblies);
public static void Register (System.Reflection.Assembly[] assemblies);
static member Register : System.Reflection.Assembly[] -> unit
Public Shared Sub Register (assemblies As Assembly())

Parameters

assemblies
Assembly[]

Applies to

Register<T,TImpl>()

Source:
DependencyService.cs
Source:
DependencyService.cs
public:
generic <typename T, typename TImpl>
 where T : class where TImpl : class, T static void Register();
public static void Register<T,TImpl> () where T : class where TImpl : class, T;
static member Register : unit -> unit (requires 'T : null)
Public Shared Sub Register(Of T As Class, TImpl As Class) ()

Type Parameters

T
TImpl

Applies to

Register<T>()

Source:
DependencyService.cs
Source:
DependencyService.cs
public:
generic <typename T>
 where T : class static void Register();
public static void Register<T> () where T : class;
static member Register : unit -> unit (requires 'T : null)
Public Shared Sub Register(Of T As Class) ()

Type Parameters

T

Applies to