コード例 #1
0
        public KeyedWrapNotifyCollection(IKeyedNotifyCollection <TKey, TInner> collection, object context)
            : base(new WrapInnerKeyedCollection(collection))
        {
            _context         = context;
            _inner           = (WrapInnerCollection)base.Items;
            _inner.Converter = this;

            OnPreInitialize(context);
            _inner.ResetCollection();
        }
コード例 #2
0
 public ReadOnlyKeyedNotifyCollection(IKeyedNotifyCollection <TKey, TItem> collection)
     : base(collection)
 {
     _innerCollection = (IKeyedNotifyCollection <TKey, TItem>)base.Items;
 }
コード例 #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ThePendingChangeCollection"/> class.
 /// </summary>
 public PendingChangeCollection(IKeyedNotifyCollection <string, PendingChange> inner)
     : base(inner)
 {
 }
コード例 #4
0
 public PendingChangeWrapCollection(IAnkhServiceProvider context, IKeyedNotifyCollection <string, PendingChange> pendingChanges)
     : base(pendingChanges, context)
 {
 }
コード例 #5
0
 public PendingCommitItemCollection(PendingCommitsView view, IKeyedNotifyCollection <string, PendingChange> collection)
     : base(collection, view)
 {
 }
コード例 #6
0
 public WrapInnerKeyedCollection(IKeyedNotifyCollection <TKey, TInner> collection)
     : base(collection, collection.Comparer)
 {
     _sourceCollection = (IKeyedNotifyCollection <TKey, TInner>)base.SourceCollection;
 }
コード例 #7
0
 public KeyedWrapNotifyCollection(IKeyedNotifyCollection <TKey, TInner> collection)
     : this(collection, (IAnkhServiceProvider)null)
 {
 }