C# 클래스 LinFu.IoC.Configuration.TypeCounter

Counts the number of occurrences of a specific type.
파일 보기 프로젝트 열기: philiplaureano/LinFu

공개 메소드들

메소드 설명
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