Interface IContentVersionCleanupPolicy
Used to filter historic content versions for cleanup.
Namespace: Umbraco.Cms.Core.Services
Assembly: Umbraco.Core.dll
Syntax
public interface IContentVersionCleanupPolicy
Methods
View SourceApply(DateTime, IEnumerable<ContentVersionMeta>)
Filters a set of candidates historic content versions for cleanup according to policy settings.
Declaration
IEnumerable<ContentVersionMeta> Apply(DateTime asAtDate, IEnumerable<ContentVersionMeta> items)
Parameters
Type | Name | Description |
---|---|---|
DateTime | asAtDate | |
IEnumerable<ContentVersionMeta> | items |
Returns
Type | Description |
---|---|
IEnumerable<ContentVersionMeta> |