Click or drag to resize
CMSCacheDependencyExtensionsCreateCacheDependency Method
Creates instance of CacheDependency based on cmsDependency values.

Namespace: CMS.AspNet.Platform.Cache.Extension
Assembly: CMS.AspNet.Platform (in CMS.AspNet.Platform.dll) Version: 12.0.0
Syntax
C#
public static CacheDependency CreateCacheDependency(
	this CMSCacheDependency cmsDependency
)

Parameters

cmsDependency
Type: CMS.HelpersCMSCacheDependency
Cache dependency abstraction object.

Return Value

Type: CacheDependency

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type CMSCacheDependency. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also