This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Binds the cache to the ContentChange event.

Namespace: Smartsite.Runtime.Modules
Assembly:  Smartsite.Runtime.Modules (in Smartsite.Runtime.Modules.dll)

Syntax

C#Copy imageCopy Code
[(Name = "{0}.Events.BindToContentChange")]
public static void AddActivationDependency(
	 context,
	params [] parents
)
Visual Basic (Declaration)Copy imageCopy Code
<(Name := "{0}.Events.BindToContentChange")> _
Public Shared Sub AddActivationDependency ( _
	context As , _
	ParamArray parents As () _
)

Parameters

context
IRenderContext
The context.
parents
array<Locator>[]()
The folders within which the cache invalidation is limited.

Remarks

Only valid within a cache macro's Xml.

See Also

Advanced