C# Класс LinFu.IoC.Configuration.TypeCounter

Counts the number of occurrences of a specific type.
Показать файл Открыть проект

Открытые методы

Метод Описание
CountOf ( Type type ) : int

Returns the number of occurrences of a specific type.

Decrement ( Type type ) : void

Decrements the count for the current type.

Increment ( Type type ) : void

Increments the count for the current type.

Reset ( ) : void

Resets the counts back to zero.

Описание методов

CountOf() публичный Метод

Returns the number of occurrences of a specific type.
public CountOf ( Type type ) : int
type System.Type The type being counted.
Результат int

Decrement() публичный Метод

Decrements the count for the current type.
public Decrement ( Type type ) : void
type System.Type The type being counted.
Результат void

Increment() публичный Метод

Increments the count for the current type.
public Increment ( Type type ) : void
type System.Type The type being counted.
Результат void

Reset() публичный Метод

Resets the counts back to zero.
public Reset ( ) : void
Результат void