private void DocumentPublished(IPublishingStrategy sender, PublishEventArgs <IContent> e)
 {
     DependencyProxy.CallDependencies(BaseUmbracoDependency.DependencyTypesEnum.Content, e.PublishedEntities.Cast <IContentBase>().ToList());
 }
 private void DocumentMoved(IContentService sender, MoveEventArgs <IContent> e)
 {
     DependencyProxy.CallDependencies(BaseUmbracoDependency.DependencyTypesEnum.Content, e.MoveInfoCollection.Select(x => x.Entity).Cast <IContentBase>().ToList());
 }
 void MediaService_Moved(IMediaService sender, MoveEventArgs <IMedia> e)
 {
     DependencyProxy.CallDependencies(BaseUmbracoDependency.DependencyTypesEnum.Media, e.MoveInfoCollection.Select(x => x.Entity).Cast <IContentBase>().ToList());
 }
 void ContentService_Deleted(IContentService sender, DeleteEventArgs <IContent> e)
 {
     DependencyProxy.CallDependencies(BaseUmbracoDependency.DependencyTypesEnum.Content, e.DeletedEntities.Cast <IContentBase>().ToList());
 }
 void MediaService_Saved(IMediaService sender, SaveEventArgs <IMedia> e)
 {
     DependencyProxy.CallDependencies(BaseUmbracoDependency.DependencyTypesEnum.Media, e.SavedEntities.Cast <IContentBase>().ToList());
 }