A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://dotnet.github.io/dotNext/api/DotNext.ConsumerClosure-2.html below:

Struct ConsumerClosure<TContext, T> | .NEXT

Struct ConsumerClosure<TContext, T>

Represents implementation of IConsumer<T> interface with the support of closure that is not allocated on the heap.

Namespace: DotNext Assembly: DotNext.dll Syntax
[CLSCompliant(false)]
public readonly struct ConsumerClosure<TContext, T> : IConsumer<T>, IFunctional<Action<T>>
Type Parameters Name Description TContext

The type describing closure.

T

The type of the consumer argument.

Constructors | Edit this page View Source ConsumerClosure(delegate*<in TContext, T, void>, TContext)

Represents implementation of IConsumer<T> interface with the support of closure that is not allocated on the heap.

Declaration
public ConsumerClosure(delegate*<in TContext, T, void> ptr, TContext context)
Parameters Type Name Description delegate*<in TContext, T, void> ptr

The function pointer.

TContext context

The context to be passed to the function pointer.

Exceptions Properties | Edit this page View Source IsEmpty

Gets a value indicating that this function pointer is zero.

Declaration
public bool IsEmpty { get; }
Property Value Exceptions Implements Extension Methods

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4