Table of Contents

Class CacheDependencyBuilderExtensions

Namespace
CMS.MediaLibrary
Assembly
CMS.MediaLibrary.dll

Provides extension methods for the CacheDependencyBuilder class.

[Obsolete("Media libraries and their APIs are obsolete and will be discontinued in the future. Please migrate all media library files to Content hub and use their corresponding content item APIs.", false)]
public static class CacheDependencyBuilderExtensions
Inheritance
object
CacheDependencyBuilderExtensions

Methods

ForMediaFiles(CacheDependencyBuilder)

Allows creation of cache dependencies for the media files.

[Obsolete("Media libraries and their APIs are obsolete and will be discontinued in the future. Please migrate all media library files to Content hub and use their corresponding content item APIs.", false)]
public static MediaFileCacheDependencyBuilder ForMediaFiles(this CacheDependencyBuilder cacheDependencyBuilder)

Parameters

cacheDependencyBuilder CacheDependencyBuilder

Cache dependency builder.

Returns

MediaFileCacheDependencyBuilder

A new instance of MediaFileCacheDependencyBuilder to further specify cache dependency.

See Also