ISupportRequiredService Interface

Definição

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

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

Métodos

Nome Description
GetRequiredService(Type)

Obtém o serviço do tipo serviceType da IServiceProvider implementação dessa interface.

Aplica-se a