C# Class WCFIocNHibernateSample.NHibernateMessageInspector

Mesage inspector to handle binding/unbinding of the session to the current session context
Inheritance: IDispatchMessageInspector
Exibir arquivo Open project: etishor/WCF-Ioc-Nhibernate-Sample

Public Methods

Method Description
AfterReceiveRequest ( System &request, IClientChannel channel, System.ServiceModel.InstanceContext instanceContext ) : object
BeforeSendReply ( System &reply, object correlationState ) : void
NHibernateMessageInspector ( ISessionFactory factory ) : System

Method Details

AfterReceiveRequest() public method

public AfterReceiveRequest ( System &request, IClientChannel channel, System.ServiceModel.InstanceContext instanceContext ) : object
request System
channel IClientChannel
instanceContext System.ServiceModel.InstanceContext
return object

BeforeSendReply() public method

public BeforeSendReply ( System &reply, object correlationState ) : void
reply System
correlationState object
return void

NHibernateMessageInspector() public method

public NHibernateMessageInspector ( ISessionFactory factory ) : System
factory ISessionFactory
return System