DependencyService.Register Yöntem

Tanım

Aşırı Yüklemeler

Register<T,TImpl>()

T türünde platforma özgü uygulamayı kaydeder.

Register<T>()

T türünde platforma özgü uygulamayı kaydeder.

Register<T,TImpl>()

T türünde platforma özgü uygulamayı kaydeder.

public static void Register<T,TImpl> () where T : class where TImpl : class, T;
static member Register : unit -> unit (requires 'T : null)

Tür Parametreleri

T

Kayıt yapılacak nesnenin türü.

TImpl

Kaydolmak için uygulama.

Şunlara uygulanır

Register<T>()

T türünde platforma özgü uygulamayı kaydeder.

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

Tür Parametreleri

T

Kayıt yapılacak nesnenin türü.

Şunlara uygulanır