C# 클래스 Ninject.Activation.Caching.GarbageCollectionCachePruner

Uses a Timer and some WeakReference magic to poll the garbage collector to see if it has run.
상속: Ninject.Components.NinjectComponent, ICachePruner
파일 보기 프로젝트 열기: Qiredev/ninject

공개 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Releases resources held by the object.

Start ( IPruneable pruneable ) : void

Starts pruning the specified pruneable based on the rules of the pruner.

Stop ( ) : void

Stops pruning.

비공개 메소드들

메소드 설명
GetTimeoutInMilliseconds ( ) : int
PruneCacheIfGarbageCollectorHasRun ( object state ) : void

메소드 상세

Dispose() 공개 메소드

Releases resources held by the object.
public Dispose ( bool disposing ) : void
disposing bool
리턴 void

Start() 공개 메소드

Starts pruning the specified pruneable based on the rules of the pruner.
public Start ( IPruneable pruneable ) : void
pruneable IPruneable The pruneable that will be pruned.
리턴 void

Stop() 공개 메소드

Stops pruning.
public Stop ( ) : void
리턴 void