PeanutButter
Loading...
Searching...
No Matches
PeanutButter.Utils.ElementNotFoundException Class Reference

thrown when a Find<T>() call finds no elements More...

Inheritance diagram for PeanutButter.Utils.ElementNotFoundException:

Public Member Functions

 ElementNotFoundException (IEnumerable source, int skip, Type seeking, object predicate)
 Constructs the exception.

Detailed Description

thrown when a Find<T>() call finds no elements

  • if you don't want this, use FindOrDefault<T>

Constructor & Destructor Documentation

◆ ElementNotFoundException()

PeanutButter.Utils.ElementNotFoundException.ElementNotFoundException ( IEnumerable source,
int skip,
Type seeking,
object predicate )

Constructs the exception.

Parameters
source
skip
seeking
predicate

The documentation for this class was generated from the following file:
  • source/Utils/PeanutButter.Utils/ExtensionsForIEnumerables.cs