TestExtensions
Maybe<TSource, TResult>(TSource, Func<TSource, TResult>)
MaybeDefaultIfEmpty<TResult>(IEnumerable<TResult>)
MaybeScalar<TSource, TResult>(TSource, Func<TSource, TResult?>)
MaybeScalar<TSource, TResult>(TSource, Func<TSource, TResult>)
ZipAssert<T>(IEnumerable<T>, IEnumerable<T>, Action<T, T>)
ZipAssert<T>(IReadOnlyCollection<T>, IReadOnlyCollection<T>, Action<T, T>)
net10.0
namespace Microsoft.EntityFrameworkCore.TestUtilities
{
public static class TestExtensions
{
public static IEnumerable<TResult>! MaybeDefaultIfEmpty<TResult>(this IEnumerable<TResult>? caller);
}
}
| .NET | 10.0 |
|---|---|
Information specific to net10.0 | |
| Assembly | Microsoft.EntityFrameworkCore.Specification.Tests , Version=10.0.1.0, PublicKeyToken=adb9793829ddae60 |
| Referencing | Your project needs a package reference to |
| Package | Microsoft.EntityFrameworkCore.Specification.Tests (10.0.1) net10.0 |
| Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API