protected BindingListAdapterBase(IList source, ItemPropertyNotificationMode itemPropertyNotificationMode, bool doSubsribe)
 {
     this.source = source;
     this.itemPropertyNotificationMode = itemPropertyNotificationMode;
     if(doSubsribe)
         SubscribeAll(source);
 }
 public static BindingListAdapter CreateFromList(IList list, ItemPropertyNotificationMode itemPropertyNotificationMode = ItemPropertyNotificationMode.PropertyChanged)
 {
     return list is ITypedList ? new TypedListBindingListAdapter(list, itemPropertyNotificationMode) : new BindingListAdapter(list, itemPropertyNotificationMode);
 }
 internal BindingListAdapter(IList source, ItemPropertyNotificationMode itemPropertyNotificationMode = ItemPropertyNotificationMode.PropertyChanged)
     : base(source, itemPropertyNotificationMode, false)
 {
     this.itemPropertyNotificationMode = itemPropertyNotificationMode;
     SubscribeAll(source);
 }
 public TypedListBindingListAdapterBase(IList source, ItemPropertyNotificationMode itemPropertyNotificationMode)
     : base(source, itemPropertyNotificationMode)
 {
     if(!(source is ITypedList))
         throw new ArgumentException("source");
 }
 public BindingListAdapterBase(IList source, ItemPropertyNotificationMode itemPropertyNotificationMode)
     : this(source, itemPropertyNotificationMode, true)
 {
 }