C# Class ObjectPool.Pool

Mostrar archivo Open project: beginor/DesignPatterns

Public Methods

Method Description
CleanUp ( PooledObject obj ) : void
GetObject ( ) : PooledObject
ReleaseObject ( PooledObject obj ) : void

Method Details

CleanUp() public static method

public static CleanUp ( PooledObject obj ) : void
obj PooledObject
return void

GetObject() public static method

public static GetObject ( ) : PooledObject
return PooledObject

ReleaseObject() public static method

public static ReleaseObject ( PooledObject obj ) : void
obj PooledObject
return void