Namespace Umbraco.Cms.Core.Events
Classes
AddDomainWarningsWhenPublishingNotificationHandler
Handles the ContentPublishedNotification to add warnings when domains are not properly configured for multilingual sites.
AddUnroutableContentWarningsWhenPublishingNotificationHandler
Handles the ContentPublishedNotification to add warnings when published content may not be routable.
CancellableEnumerableObjectEventArgs<TEventObject>
Represents event data, for events that support cancellation, and expose impacted objects.
CancellableEventArgs
Represents event data for events that support cancellation.
CancellableObjectEventArgs
Provides a base class for classes representing event data, for events that support cancellation, and expose an impacted object.
CancellableObjectEventArgs<TEventObject>
Represent event data, for events that support cancellation, and expose an impacted object.
ContentCacheEventArgs
Represents event data for content cache events.
CopyEventArgs<TEntity>
Represents event data for copy operations.
DeleteEventArgs
Represents event data for delete operations with an identifier.
DeleteEventArgs<TEntity>
Represents event data for delete operations.
EventAggregator
Default implementation of IEventAggregator that channels events from multiple objects into a single object.
EventAggregatorExtensions
Extension methods for IEventAggregator.
EventDefinition
Represents an event definition that wraps a standard System.EventHandler.
EventDefinitionBase
Provides a base class for event definitions that can be tracked and raised by an event dispatcher.
EventDefinition<TEventArgs>
Represents an event definition that wraps a generic System.EventHandler<TEventArgs>.
EventDefinition<TSender, TEventArgs>
Represents an event definition that wraps a TypedEventHandler<TSender, TEventArgs>.
EventExtensions
Extension methods for cancellable event operations
EventMessage
An event message
EventMessages
Event messages collection
EventNameExtractor
There is actually no way to discover an event name in c# at the time of raising the event. It is possible to get the event name from the handler that is being executed based on the event being raised, however that is not what we want in this case. We need to find the event name before it is being raised - you would think that it's possible with reflection or anything but that is not the case, the delegate that defines an event has no info attached to it, it is literally just an event. So what this does is take the sender and event args objects, looks up all public/static events on the sender that have a generic event handler with generic arguments (but only) one, then we match the type of event arguments with the ones being passed in. As it turns out, in our services this will work for the majority of our events! In some cases it may not work and we'll have to supply a string but hopefully this saves a bit of magic strings. We can also write tests to validate these are all working correctly for all services.
EventNameExtractorResult
Represents the result of an event name extraction operation.
ExportedMemberEventArgs
Represents event data for member export operations.
MigrationEventArgs
MoveEventArgs<TEntity>
Represents event data for move operations.
MoveEventInfoBase<TEntity>
Provides a base class for move event information.
MoveEventInfo<TEntity>
Represents information about a single entity move operation.
MoveToRecycleBinEventInfo<TEntity>
Represents information about a move to recycle bin operation.
NewEventArgs<TEntity>
Represents event data for new entity creation operations.
PublishEventArgs<TEntity>
Represents event data for publish operations.
QueuingEventDispatcher
An IEventDispatcher that queues events, and raise them when the scope exits and has been completed.
QueuingEventDispatcherBase
An IEventDispatcher that queues events.
RecycleBinEventArgs
Represents event data for recycle bin operations.
RelateOnCopyNotificationHandler
Handles the ContentCopiedNotification to create a relation between the original and copied content.
RelateOnTrashNotificationHandler
RolesEventArgs
Represents event data for role assignment operations.
RollbackEventArgs<TEntity>
Represents event data for rollback operations.
SaveEventArgs<TEntity>
Represents event data for save operations.
ScopedNotificationPublisher
Default implementation of IScopedNotificationPublisher that publishes notifications within a scope.
ScopedNotificationPublisher<TNotificationHandler>
Implementation of IScopedNotificationPublisher that publishes notifications within a scope for a specific handler type.
SendEmailEventArgs
Represents event data for send email operations.
SendToPublishEventArgs<TEntity>
Represents event data for send to publish operations.
ServiceFactoryExtensions
Extensions for ServiceFactory.
SupersedeEventAttribute
This is used to know if the event arg attributed should supersede another event arg type when tracking events for the same entity. If one event args supersedes another then the event args that have been superseded will mean that the event will not be dispatched or the args will be filtered to exclude the entity.
TransientEventMessagesFactory
A simple/default transient messages factory
UserGroupWithUsers
Represents a user group along with the users that were added to or removed from it.
UserNotificationsHandler
Handles content-related notifications to send user notifications.
UserNotificationsHandler.Notifier
This class is used to send the notifications
Interfaces
IDeletingMediaFilesEventArgs
Represents event arguments that contain a list of media files to be deleted.
IEventAggregator
Defines an object that channels events from multiple objects into a single object to simplify registration for clients.
IEventDefinition
Represents an event definition that can be tracked and raised by an event dispatcher.
IEventDispatcher
Dispatches events from within a scope.
IEventMessagesAccessor
Provides access to the current EventMessages instance.
IEventMessagesFactory
Event messages factory
INotificationAsyncHandler<TNotification>
Defines a handler for a async notification.
INotificationHandler
Marker interface for notification handlers.
INotificationHandler<TNotification>
Defines a handler for a notification.
IScopedNotificationPublisher
Provides scoped notification publishing functionality within a transaction scope.
Enums
EventDefinitionFilter
The filter used in the IEventDispatcher GetEvents method which determines how the result list is filtered
EventMessageType
The type of event message
EventNameExtractorError
Represents errors that can occur during event name extraction.
Delegates
ServiceFactory
A factory method used to resolve all services. For multiple instances, it will resolve against System.Collections.Generic.IEnumerable<T>.
TypedEventHandler<TSender, TEventArgs>
Represents a typed event handler delegate with a specific sender and event arguments type.