Exemple #1
0
        public IndexedItemList(IEnumerable <T> items, MemberSelector <T> identifyingMembers)
        {
            _identifyingMembers = identifyingMembers;

            foreach (var item in items)
            {
                Add(item);
            }
        }
Exemple #2
0
 public IndexedItemList(MemberSelector <T> identifyingMembers)
     : this(Enumerable.Empty <T>(), identifyingMembers)
 {
 }