ISupportRequiredService Interfaz

Definición

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

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

Métodos

GetRequiredService(Type)

Obtiene el servicio de tipo serviceType de que IServiceProvider implementa esta interfaz.

Se aplica a