public void ResolvableDependentsRegistered() { var injectable = MockInjectableFactory.Create(); map.RegisterResolvableDependent(injectable); Assert.AreEqual(injectable, map.UnloadResolvableDependents()[0]); }
private void TryInjectAll() { var resolvables = dependencyMap.UnloadResolvableDependents(); for (int i = 0; i < resolvables.Count; i++) { TryInjectResolvable(resolvables[i]); } var providables = dependencyMap.UnloadProvidableDependents(); for (int i = 0; i < providables.Count; i++) { TryInjectProvidable(providables[i]); } }