Interface ICounter<TResult, TArgument>

Namespace
Platform.Interfaces
Assembly
Platform.Interfaces.dll

Defines a counter that requires an argument to perform a count.

Определяет счётчик, которому требуется аргумент для выполнения подсчёта.

public interface ICounter<out TResult, in TArgument>

Type Parameters

TResult

The count result type.

Тип результата подсчёта.

TArgument

The argument type.

Тип аргумента.

Methods

Count(TArgument)

Performs a count.

Выполняет подсчёт.

TResult Count(TArgument argument)

Parameters

argument TArgument

The argument.

Аргумент.

Returns

TResult

The count result.

Результат подсчёта.