WcfOperationLifestyle Methods

Simple Injector

The WcfOperationLifestyle type exposes the following members.

Methods

  NameDescription
Protected methodCreateCurrentScopeProvider
Creates a delegate that upon invocation return the current Scope for this lifestyle and the given container, or null when the delegate is executed outside the context of such scope.
Protected methodGetCurrentScopeCore
Returns the current Scope for this lifestyle and the given container, or null when this method is executed outside the context of a scope.
Public methodStatic memberWhenWcfOperationEnds Obsolete.
Allows registering an action delegate that will be called when the current WCF operation ends, but before the scope disposes any instances.
Top
See Also

Reference