From 83619f849de6461b0a2899f6ff1e5a1798ccdc57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Halil=20=C4=B0brahim=20Kalkan?= Date: Sun, 18 Dec 2016 00:10:30 +0300 Subject: [PATCH] Revised TODO. --- .../ServiceCollectionRegistrationExtensions.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Volo.DependencyInjection/Microsoft/Extensions/DependencyInjection/ServiceCollectionRegistrationExtensions.cs b/src/Volo.DependencyInjection/Microsoft/Extensions/DependencyInjection/ServiceCollectionRegistrationExtensions.cs index 77da90e7ed..99e899f93b 100644 --- a/src/Volo.DependencyInjection/Microsoft/Extensions/DependencyInjection/ServiceCollectionRegistrationExtensions.cs +++ b/src/Volo.DependencyInjection/Microsoft/Extensions/DependencyInjection/ServiceCollectionRegistrationExtensions.cs @@ -10,8 +10,7 @@ namespace Microsoft.Extensions.DependencyInjection { public static class ServiceCollectionRegistrationExtensions { - //TODO: Check if assembly/type is added before or add TryAdd versions of them? - //TODO: When to use Add, when to use TryAdd? We may think to add conventional interfaces to indicate and attributes to override them. + //TODO: When to use TryAdd, when to use Add (create an attribute to declare it) //TODO: Make this code extensible, so we can add other conventions! public static IServiceCollection AddAssemblyOf(this IServiceCollection services)