A WCF Message Inspector which creates a UnitOfWork instance to be held with the current OperationContext allowing a UnitOfWork per session implementation.

Namespace:  Mindscape.LightSpeed.ServiceModel
Assembly:  Mindscape.LightSpeed.ServiceModel (in Mindscape.LightSpeed.ServiceModel.dll)
Version: 4.0.0.0 (4.0.0.0)

Syntax

C#
public class UnitOfWorkMessageInspector<T> : IDispatchMessageInspector where T : new(), IUnitOfWork
Visual Basic (Declaration)
Public Class UnitOfWorkMessageInspector(Of T As {New, IUnitOfWork}) _
	Implements IDispatchMessageInspector

Type Parameters

T
The type of the UnitOfWork which is to be created.

Inheritance Hierarchy

System..::.Object
  Mindscape.LightSpeed.ServiceModel..::.UnitOfWorkMessageInspector<(Of <(T>)>)

See Also