PeanutButter
Loading...
Searching...
No Matches
PeanutButter.Utils.ExtensionsForIEnumerables.DuplicateResult< TKey, TItem > Class Template Reference

DTO for conveying results from the more complex FindDuplicates variant which includes a key discriminator. More...

Public Member Functions

 DuplicateResult (TKey key, IEnumerable< TItem > items)
 Constructs a read-only dto.
 

Properties

TKey Key [get]
 Key of duplication.
 
IEnumerable< TItem > Items [get]
 Duplicated items matching this key.
 

Detailed Description

DTO for conveying results from the more complex FindDuplicates variant which includes a key discriminator.

Template Parameters
TKeyType of the key that duplication was determined by
TItemType of the duplicated item(s)

Constructor & Destructor Documentation

◆ DuplicateResult()

PeanutButter.Utils.ExtensionsForIEnumerables.DuplicateResult< TKey, TItem >.DuplicateResult ( TKey  key,
IEnumerable< TItem >  items 
)

Constructs a read-only dto.

Parameters
keyKey value
itemsDuplicated items

The documentation for this class was generated from the following file: