C# Class LinFu.IoC.Configuration.TypeCounter

Counts the number of occurrences of a specific type.
Afficher le fichier Open project: philiplaureano/LinFu

Méthodes publiques

Méthode Description
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.

Method Details

CountOf() public méthode

Returns the number of occurrences of a specific type.
public CountOf ( Type type ) : int
type System.Type The type being counted.
Résultat int

Decrement() public méthode

Decrements the count for the current type.
public Decrement ( Type type ) : void
type System.Type The type being counted.
Résultat void

Increment() public méthode

Increments the count for the current type.
public Increment ( Type type ) : void
type System.Type The type being counted.
Résultat void

Reset() public méthode

Resets the counts back to zero.
public Reset ( ) : void
Résultat void