C# 클래스 Castle.MicroKernel.Lifestyle.Pool.DefaultPool

상속: IPool, IDisposable
파일 보기 프로젝트 열기: nats/castle-1.0.3-mono

공개 메소드들

메소드 설명
DefaultPool ( int initialsize, int maxsize, IComponentActivator componentActivator ) : System
Dispose ( ) : void
Release ( object instance ) : void
Request ( CreationContext context ) : object

비공개 메소드들

메소드 설명
InitPool ( ) : void

Initializes the pool to a initial size by requesting n components and then releasing them.

메소드 상세

DefaultPool() 공개 메소드

public DefaultPool ( int initialsize, int maxsize, IComponentActivator componentActivator ) : System
initialsize int
maxsize int
componentActivator IComponentActivator
리턴 System

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Release() 공개 메소드

public Release ( object instance ) : void
instance object
리턴 void

Request() 공개 메소드

public Request ( CreationContext context ) : object
context Castle.MicroKernel.Context.CreationContext
리턴 object