예제 #1
0
        public override void OnDelete(object entity, object id, object[] state, string[] propertyNames, IType[] types)
        {
            var item = entity as ContentItem;

            if (item != null)
            {
                notifier.NotifyDeleting(item);
            }
        }
예제 #2
0
 public override void Delete(ContentItem entity)
 {
     notifier.NotifyDeleting(entity);
     base.Delete(entity);
 }