Beispiel #1
0
            public void Inject(ReferenceInjection injection)
            {
                var value = new ReferenceResolver(objectFactory).GetReferenceFor(injection);

                propertiesCache[injection.Property].SetValue(instance, value);
            }
Beispiel #2
0
            public void Inject(ReferenceInjection injection)
            {
                var value = new ReferenceResolver(objectFactory).GetReferenceFor(injection);

                injection.Property.SetValue(null, value, null);
            }