C# Class LinFu.IoC.Configuration.TypeCounter

Counts the number of occurrences of a specific type.
ファイルを表示 Open project: philiplaureano/LinFu

Public Methods

Method 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 method

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

Decrement() public method

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

Increment() public method

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

Reset() public method

Resets the counts back to zero.
public Reset ( ) : void
return void