PostSharpAPI ReferencePost­Sharp.​Patterns.​CachingCaching­ServicesSuspend­Dependency­Propagation
Open sandboxFocus

Method SuspendDependencyPropagation

SuspendDependencyPropagation()

Temporarily suspends propagation of dependencies from subsequently called methods to the caller method.

Declaration
public static IDisposable SuspendDependencyPropagation()
Returns
Type Description
IDisposable

IDisposable representation of the suspension. Disposing this object resumes the normal dependency propagation.