.NET API 493,976 bytes
ISupplier<T, TResult>
Represents functional interface returning arbitrary value and
accepting the single argument.
using DotNext.
Runtime.
CompilerServices;
using System;
using System.
Runtime.
CompilerServices;
namespace DotNext
{
[
NullableContext(
2)]
public interface ISupplier<
in T,
out TResult> :
IFunctional<
Func<
T,
TResult>>
{
[
NullableContext(
1)]
TResult Invoke(
T arg);
Func<
T,
TResult>
IFunctional<
Func<
T,
TResult>>.
ToDelegate()
{
return Invoke;
}
}
}