{
var receiver = TestConfiguration.Types.GetValueOrDefault(modelType);
if (receiver == null)
throw new NotImplementedException($"Receiver for {modelType.GetType().Name}.{modelType} not found");
var receiverObject = (ITest)serviceProvider.GetRequiredService(receiver?.ReceiverType);
return receiverObject;
});
а тут как быть?
Обсуждают сегодня