示例#1
0
 public void Inject(ValueInjection injection)
 {
     propertiesCache[injection.Property].SetValue(instance, injection.Value);
 }
示例#2
0
 public void Inject(ValueInjection injection)
 {
     builder.AddPropertyValue(property, injection.Value);
 }
        public override void Accept(IInjector injector)
        {
            var valueInjector = new ValueInjection(Property, Value);

            injector.Inject(valueInjector);
        }
示例#4
0
 public void Inject(ValueInjection injection)
 {
     injection.Property.SetValue(null, injection.Value, null);
 }