DependencyService Clase
Definición
Clase estática que proporciona el Factory Method Get<T>(DependencyFetchTarget) para recuperar implementaciones específicas de la plataforma del tipo especificado T.Static class that provides the Get<T>(DependencyFetchTarget) factory method for retrieving platform-specific implementations of the specified type T.
public static class DependencyService
type DependencyService = class
- Herencia
-
DependencyService
Métodos
Get<T>(DependencyFetchTarget) |
Devuelve la implementación específica de la plataforma de tipo |
Register<T,TImpl>() |
Registra la implementación específica de la plataforma de tipo T.Registers the platform-specific implementation of type T. |
Register<T>() |
Registra la implementación específica de la plataforma de tipo T.Registers the platform-specific implementation of type T. |
Resolve<T>(DependencyFetchTarget) |
Método que se va a usar para resolver las dependencias por tipo.The method to use to resolve dependencies by type. |