C# Class CodeProject.ObjectPool.Examples.Program

Example usages of ObjectPool.
Show file Open project: pomma89/ObjectPool

Public Methods

Method Description
ExternalResourceReleaseResource ( ExternalExpensiveResource resource ) : void
ExternalResourceResetState ( ExternalExpensiveResource resource ) : void

Private Methods

Method Description
CreateNewResource ( ) : ExternalExpensiveResource
Main ( ) : void

Example usages of ObjectPool.

Method Details

ExternalResourceReleaseResource() public static method

public static ExternalResourceReleaseResource ( ExternalExpensiveResource resource ) : void
resource ExternalExpensiveResource
return void

ExternalResourceResetState() public static method

public static ExternalResourceResetState ( ExternalExpensiveResource resource ) : void
resource ExternalExpensiveResource
return void