Example #1
0
 public FieldInjectionPoint(IComponent declaringComponent, IAnnotatedField field) :
     this(declaringComponent, field.Field, field.Annotations)
 {
     InjectionValidator.Validate(field);
 }
Example #2
0
 public PropertyInjectionPoint(IComponent declaringComponent, PropertyInfo property, IBinderAttribute[] binders) :
     base(declaringComponent, property, property.PropertyType, binders)
 {
     InjectionValidator.Validate(property);
     _property = property;
 }
Example #3
0
 public FieldInjectionPoint(IComponent declaringComponent, FieldInfo field, IBinderAttribute[] binders) :
     base(declaringComponent, field, field.FieldType, binders)
 {
     InjectionValidator.Validate(field);
     _field = field;
 }
Example #4
0
 public PropertyInjectionPoint(IComponent declaringComponent, IAnnotatedProperty property) :
     this(declaringComponent, property.Property, property.Annotations)
 {
     InjectionValidator.Validate(property);
 }