private void Process(Type type, IRegistry registry) { if (!type.IsAbstract && typeof(IController).IsAssignableFrom(type)) { registry.AddType(type, type); } }
private void Process(Type type, IRegistry registry) { if (!type.IsAbstract && typeof (IController).IsAssignableFrom(type)) { registry.AddType(type, type); } }
private static void AddTheTypeToTheRegistry(Type type, IRegistry registry) { registry.AddType(typeof (IFileRetriever), type); }