Class MediaFileCacheDependencyBuilder
- Namespace
- CMS.MediaLibrary
- Assembly
- CMS.MediaLibrary.dll
Represents a builder for cache dependencies of media files. CacheDependencyBuilder MediaFileInfo
public sealed class MediaFileCacheDependencyBuilder
- Inheritance
-
objectMediaFileCacheDependencyBuilder
- Extension Methods
Methods
Builder()
Returns the root CacheDependencyBuilder.
public CacheDependencyBuilder Builder()
Returns
ByGuid(IEnumerable<Guid>)
Adds a dependency on media files with the given GUIDs.
public MediaFileCacheDependencyBuilder ByGuid(IEnumerable<Guid> guids)
Parameters
guids
IEnumerable<Guid>Collection of media file GUIDs.
Returns
- MediaFileCacheDependencyBuilder
The MediaFileCacheDependencyBuilder instance for method chaining.
ByGuid(Guid)
Adds a dependency on media file with the given GUID.
public MediaFileCacheDependencyBuilder ByGuid(Guid guid)
Parameters
guid
GuidThe GUID of the media file.
Returns
- MediaFileCacheDependencyBuilder
The MediaFileCacheDependencyBuilder instance for method chaining.