Table of Contents

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
object
MediaFileCacheDependencyBuilder
Extension Methods

Methods

Builder()

Returns the root CacheDependencyBuilder.

public CacheDependencyBuilder Builder()

Returns

CacheDependencyBuilder

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 Guid

The GUID of the media file.

Returns

MediaFileCacheDependencyBuilder

The MediaFileCacheDependencyBuilder instance for method chaining.