DependencyService.Register Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Совместная работа с нами на GitHub
Источник этого содержимого можно найти на GitHub, где также можно создавать и просматривать проблемы и запросы на вытягивание. Дополнительные сведения см. в нашем руководстве для участников.