ISupportRequiredService Interfaz

Definición

Contrato opcional usado por GetRequiredService<T>(IServiceProvider) para resolver los servicios si es compatible con IServiceProvider.

public interface class ISupportRequiredService
public interface ISupportRequiredService
type ISupportRequiredService = interface
Public Interface ISupportRequiredService

Métodos

Nombre Description
GetRequiredService(Type)

Obtiene el servicio de tipo serviceType de la IServiceProvider implementación de esta interfaz.

Se aplica a