C# Class Thinktecture.ServiceModel.InstancePoolingInstanceProvider

Inheritance: IInstanceProvider
Datei anzeigen Open project: ChristianWeyer/Thinktecture.ServiceModel Class Usage Examples

Public Methods

Method Description
InstancePoolingInstanceProvider ( Type instanceType, int minPoolSize ) : System

Initializes a new instance of the InstancePoolingInstanceProvider class.

Private Methods

Method Description
CreateNewPoolObject ( ) : object

Creates the new pool object.

IInstanceProvider ( System.ServiceModel.InstanceContext instanceContext ) : object

Returns a service object given the specified T:System.ServiceModel.InstanceContext object.

IInstanceProvider ( System.ServiceModel.InstanceContext instanceContext, Message message ) : object

Returns a service object given the specified T:System.ServiceModel.InstanceContext object.

IInstanceProvider ( System.ServiceModel.InstanceContext instanceContext, object instance ) : void

Called when an T:System.ServiceModel.InstanceContext object recycles a service object.

Initialize ( ) : void

Initializes this instance.

idleTimer_Elapsed ( object sender, System.Timers.ElapsedEventArgs args ) : void

Handles the Elapsed event of the idleTimer control.

Method Details

InstancePoolingInstanceProvider() public method

Initializes a new instance of the InstancePoolingInstanceProvider class.
public InstancePoolingInstanceProvider ( Type instanceType, int minPoolSize ) : System
instanceType System.Type Type of the instance.
minPoolSize int Size of the min pool.
return System