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.IConsumer-1.html below:

Interface IConsumer<T> | .NEXT

Interface IConsumer<T>

Represents functional interface returning no value and accepting the single argument.

Namespace: DotNext Assembly: DotNext.dll Syntax
public interface IConsumer<in T> : IFunctional<Action<T>>
Type Parameters Name Description T

The type of the argument.

Remarks

Functional interface can be used to pass some application logic without heap allocation in contrast to regular delegates. Additionally, implementation of functional interface may have encapsulated data acting as closure which is not allocated on the heap.

Methods | Edit this page View Source Invoke(T)

Invokes the consumer.

Declaration Parameters Type Name Description T arg

The first argument.

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