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

CachingServices.SuspendDependencyPropagation Method

SuspendDependencyPropagation()

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

Declaration
public static IDisposable SuspendDependencyPropagation()
Returns
Type Description
System.IDisposable

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