Shannon
d0a91bf98b
Updates ContentTypeService to ensure a single event args instance is created per event pair so that EventState flows.
2017-08-24 16:35:09 +10:00
Shannon
1274fbaefd
Fixes up the equality members for the event args types to include Gethash code and sequence equal checking, this is done by a base class used by event args that deal with collections.
2017-04-28 18:14:50 +10:00
Shannon
0b61685fc8
Adds ability to supersede events so we don't have an issue of saved event being raised for an entity after it's been deleted.
2017-04-28 13:26:56 +10:00
Stephan
67fc8b6215
Scope - fix media files deletion
2017-02-11 09:55:32 +01:00
Shannon
a65ad3c72a
Adds equality members for all event args, updates equality check for EventDefinitionBase to include the args (since that is quite important!), creates an OrderedHashSet class which can deduplicate lists for us based on member equality and supports first in or last in + tests.
2017-02-06 18:46:23 +11:00
Shannon
6d8ffb903f
Ensures events for deleting, trashing and unpublishing are done using the event messages, updates UI to support showing these messages in the list view, Since we cannot change the
...
method results on a service, we've created a new temporary service that we will explicitly implement with an extension method to get it. This is temporary until v8 where we will just replace
the original methods on the service with these methods and then remove this class.
2015-07-29 15:12:12 +02:00
Shannon
5bc00e3e48
Fixes: U4-4989 Media with image cropper doesn’t get removed from disk after delete.
2014-09-10 15:07:20 +10:00
Shannon Deminick
d0769cef0f
Removed SavedCollection/SavingCollection events and just changed the SaveEventArgs and DeleteEventArgs to have enumerables.
...
Changed the base CancellableObjectEventArgs to have a protected property so inheritors can just expose the 'T' object as their own
better name.
2012-12-21 07:17:27 +05:00
Shannon Deminick
30f3704a1b
Changed over DeletedEventArgs to support new event system and all Services that use it. Created new
...
DeleteRevisionsEventArgs for when content removes revisions.
2012-12-16 07:43:03 +05:00
Shannon Deminick
41e3471f2e
Moves event args classes to separate files
2012-12-15 10:44:09 +05:00