private void MediaService_TreeChanged(IMediaService sender, TreeChange <IMedia> .EventArgs args) { _distributedCache.RefreshMediaCache(args.Changes.ToArray()); }
private void ContentService_TreeChanged(IContentService sender, TreeChange <IContent> .EventArgs args) { _distributedCache.RefreshContentCache(args.Changes.ToArray()); }
protected TreeChangeNotification(TreeChange <T> target, EventMessages messages) : base(target, messages) { }
public EventArgs(TreeChange <TItem> change) : this(new[] { change }) { }
public ContentTreeChangeNotification(TreeChange <IContent> target, EventMessages messages) : base(target, messages) { }
public MediaTreeChangeNotification(TreeChange <IMedia> target, EventMessages messages) : base(target, messages) { }