Interface ICounter<TResult, TArgument>
Defines a counter that requires an argument to perform a count.
Определяет счётчик, которому требуется аргумент для выполнения подсчёта.
Namespace: Platform.Interfaces
Assembly: Platform.Interfaces.dll
Syntax
public interface ICounter<out TResult, in TArgument>
Type Parameters
| Name | Description |
|---|---|
| TResult | The count result type. Тип результата подсчёта. |
| TArgument | The argument type. Тип аргумента. |
Methods
| Improve this Doc View SourceCount(TArgument)
Performs a count.
Выполняет подсчёт.
Declaration
TResult Count(TArgument argument)
Parameters
| Type | Name | Description |
|---|---|---|
| TArgument | argument | The argument. Аргумент. |
Returns
| Type | Description |
|---|---|
| TResult | The count result. Результат подсчёта. |