Sequence processing constructs not present in System.Linq.
See Also: Inherited members from object.
static
|
FirstOrDefault<T>
(this IEnumerable<T>, Func<T, bool>, T)Like Enumerable.FirstOrDefault but with a configurable default value. |
|
static
|
FirstOrDefaultValue<T>
(this IEnumerable<T>, Predicate<T>, T)Like Enumerable.FirstOrDefault but with a configurable default value. |
|
static
|
Singleton<T>
(this T)An enumerable containing a single element. |
Like Enumerable.FirstOrDefault but with a configurable default value.Syntax
public static T FirstOrDefault<T> (this IEnumerable<T> enumerable, Func<T, bool> predicate, T defaultValue)
where T : classType Parameters
- T
- Documentation for this section has not yet been entered.
Parameters
- enumerable
- Documentation for this section has not yet been entered.
- predicate
- Documentation for this section has not yet been entered.
- defaultValue
- Documentation for this section has not yet been entered.
Returns
Documentation for this section has not yet been entered.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Org.XmlUnit.Util
Assembly: xmlunit-core (in xmlunit-core.dll)
Assembly Versions: 2.9.2.240
Like Enumerable.FirstOrDefault but with a configurable default value.Syntax
public static T FirstOrDefaultValue<T> (this IEnumerable<T> enumerable, Predicate<T> predicate, T defaultValue)
where T : structType Parameters
- T
- Documentation for this section has not yet been entered.
Parameters
- enumerable
- Documentation for this section has not yet been entered.
- predicate
- Documentation for this section has not yet been entered.
- defaultValue
- Documentation for this section has not yet been entered.
Returns
Documentation for this section has not yet been entered.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Org.XmlUnit.Util
Assembly: xmlunit-core (in xmlunit-core.dll)
Assembly Versions: 2.9.2.240
An enumerable containing a single element.Syntax
public static IEnumerable<T> Singleton<T> (this T t)Type Parameters
- T
- Documentation for this section has not yet been entered.
Parameters
- t
- Documentation for this section has not yet been entered.
Returns
Documentation for this section has not yet been entered.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Org.XmlUnit.Util
Assembly: xmlunit-core (in xmlunit-core.dll)
Assembly Versions: 2.9.2.240