DotNext by .NET Foundation and Contributors

<PackageReference Include="DotNext" Version="4.15.2" />

.NET API 592,280 bytes

 Supplier<TResult>

public struct Supplier<TResult> : ISupplier<TResult>, IFunctional<Func<TResult>>
Represents typed function pointer implementing ISupplier<T>.
public bool IsEmpty { get; }

Gets a value indicating that this function pointer is zero.

public Supplier(method ptr)

public static Func<TResult> op_Explicit(Supplier<TResult> supplier)

Converts this supplier to the delegate of type Func<T>.

public static Supplier<TResult> op_Implicit(method ptr)

public Func<TResult> ToDelegate()

Converts this supplier to the delegate of type Func<T>.