예제 #1
0
 //	CONSTRUCTOR
 public InjectionBinding(Type targetType, IInstanceProviderList instanceProviderList)
 {
     BindingType           = targetType;
     _InstanceProviderList = instanceProviderList;
 }
예제 #2
0
 //	CONSTRUCTOR
 public InjectionBinding(IInstanceProviderList instanceProviderList)
 {
     BindingType           = typeof(TBinding);
     _instanceProviderList = instanceProviderList;
     RestrictionList       = new List <IInjectionRestriction>();
 }