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
TResultThe count result type.
Тип результата подсчёта.
TArgumentThe argument type.
Тип аргумента.
Methods
Count(TArgument)
Performs a count.
Выполняет подсчёт.
TResult Count(TArgument argument)
Parameters
argumentTArgumentThe argument.
Аргумент.
Returns
- TResult
The count result.
Результат подсчёта.