ISupportRequiredService Interface

Definição

Contrato opcional usado por GetRequiredService<T>(IServiceProvider) para resolver serviços se suportado por IServiceProvider.

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

Métodos

Name Description
GetRequiredService(Type)

Obtém o serviço de tipo serviceType a partir da IServiceProvider implementação desta interface.

Aplica-se a