示例#1
0
 public ArrayBindingBuilder(
     ArrayBindingCollection <TModel, TView> bindingCollection,
     string referencePropertyName,
     Func <TModel, INotifyArrayChanged> subscriptionGetter,
     Func <TModel, IArray <TModelItem> > referenceGetter,
     Func <TModel, TModelItem, TView, TViewItem, TViewItem> itemConverter
     )
 {
     _bindingCollection     = bindingCollection;
     _referencePropertyName = referencePropertyName;
     _referenceGetter       = referenceGetter;
     _subscriptionGetter    = subscriptionGetter;
     _itemConverter         = itemConverter;
 }
示例#2
0
 public ArrayBindingBuilder(IArrayBindingBuilder <TModel, TView> builder)
 {
     _bindingCollection     = builder.BindingCollection;
     _referencePropertyName = builder.ReferencePropertyName;
     _subscriptionGetter    = builder.SubscriptionGetter;
 }