Interface IContentVersionCleanupPolicy
Used to filter historic content versions for cleanup.
Namespace: Umbraco.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 |
---|---|---|
System.DateTime | asAtDate | |
System.Collections.Generic.IEnumerable<ContentVersionMeta> | items |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<ContentVersionMeta> |