Class EventManager
Manages DNN Events.
Implements
Inherited Members
Namespace: DotNetNuke.Entities
Assembly: DotNetNuke.dll
Syntax
public class EventManager : ServiceLocator<IEventManager, EventManager>, IEventManager
Constructors
| Improve this Doc View SourceEventManager()
Initializes a new instance of the EventManager class.
Declaration
public EventManager()
EventManager(IEventLogger)
Initializes a new instance of the EventManager class.
Declaration
public EventManager(IEventLogger eventLogger)
Parameters
Type | Name | Description |
---|---|---|
IEventLogger | eventLogger | An event logger. |
Methods
| Improve this Doc View SourceGetFactory()
Gets the service locator factory.
Declaration
protected override Func<IEventManager> GetFactory()
Returns
Type | Description |
---|---|
Func<IEventManager> | A factory function. |
Overrides
OnFileAdded(FileAddedEventArgs)
Fires up when a file was added.
Declaration
public virtual void OnFileAdded(FileAddedEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
FileAddedEventArgs | args | The event arguments. |
OnFileChanged(FileChangedEventArgs)
Fires up when a file was changed.
Declaration
public virtual void OnFileChanged(FileChangedEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
FileChangedEventArgs | args | The event arguments. |
OnFileDeleted(FileDeletedEventArgs)
Fires up when a file was deleted.
Declaration
public virtual void OnFileDeleted(FileDeletedEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
FileDeletedEventArgs | args | The event arguments. |
OnFileDownloaded(FileDownloadedEventArgs)
Fires up when a file was downloaded.
Declaration
public virtual void OnFileDownloaded(FileDownloadedEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
FileDownloadedEventArgs | args |
OnFileMetadataChanged(FileChangedEventArgs)
Fires up when a file metadata was changed.
Declaration
public virtual void OnFileMetadataChanged(FileChangedEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
FileChangedEventArgs | args | The event arguments. |
OnFileMoved(FileMovedEventArgs)
Fires up when a file was moved.
Declaration
public virtual void OnFileMoved(FileMovedEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
FileMovedEventArgs | args | The event arguments. |
OnFileOverwritten(FileChangedEventArgs)
Fires up when a file was overwritten.
Declaration
public virtual void OnFileOverwritten(FileChangedEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
FileChangedEventArgs | args | The event arguments. |
OnFileRenamed(FileRenamedEventArgs)
Fires up when a file was renamed.
Declaration
public virtual void OnFileRenamed(FileRenamedEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
FileRenamedEventArgs | args | The event arguments. |
OnFolderAdded(FolderChangedEventArgs)
Fires up when a folder was added.
Declaration
public virtual void OnFolderAdded(FolderChangedEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
FolderChangedEventArgs | args | The event arguments. |
OnFolderDeleted(FolderDeletedEventArgs)
Fires up when a folder was deleted.
Declaration
public virtual void OnFolderDeleted(FolderDeletedEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
FolderDeletedEventArgs | args | The event arguments. |
OnFolderMoved(FolderMovedEventArgs)
Fires up when a folder was moved.
Declaration
public virtual void OnFolderMoved(FolderMovedEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
FolderMovedEventArgs | args | The event arguments. |
OnFolderRenamed(FolderRenamedEventArgs)
Fires up when a folder was renamed.
Declaration
public virtual void OnFolderRenamed(FolderRenamedEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
FolderRenamedEventArgs | args | The event arguments. |
OnFollowRequested(RelationshipEventArgs)
Fires up when a user requested to follow another user.
Declaration
public virtual void OnFollowRequested(RelationshipEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
RelationshipEventArgs | args | The event arguments. |
OnFriendshipAccepted(RelationshipEventArgs)
Fires up when a user has accepted a friendship request.
Declaration
public virtual void OnFriendshipAccepted(RelationshipEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
RelationshipEventArgs | args | The event arguments. |
OnFriendshipDeleted(RelationshipEventArgs)
Fires up when a user deleted a friendship.
Declaration
public virtual void OnFriendshipDeleted(RelationshipEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
RelationshipEventArgs | args | The event arguments. |
OnFriendshipRequested(RelationshipEventArgs)
Fires up when a user has requested a friendship.
Declaration
public virtual void OnFriendshipRequested(RelationshipEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
RelationshipEventArgs | args | The event arguments. |
OnModuleCreated(ModuleEventArgs)
Fires up when a module was created.
Declaration
public virtual void OnModuleCreated(ModuleEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
ModuleEventArgs | args | The event arguments. |
OnModuleDeleted(ModuleEventArgs)
Fires up when a module was deleted.
Declaration
public virtual void OnModuleDeleted(ModuleEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
ModuleEventArgs | args | The event arguments. |
OnModuleRemoved(ModuleEventArgs)
Fires up when a module was removed.
Declaration
public virtual void OnModuleRemoved(ModuleEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
ModuleEventArgs | args | The event arguments. |
OnModuleUpdated(ModuleEventArgs)
Fires up when a module was updated.
Declaration
public virtual void OnModuleUpdated(ModuleEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
ModuleEventArgs | args | The event arguments. |
OnPortalCreated(PortalCreatedEventArgs)
Fires up when a portal was created.
Declaration
public virtual void OnPortalCreated(PortalCreatedEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
PortalCreatedEventArgs | args | The event arguments. |
OnPortalSettingUpdated(PortalSettingUpdatedEventArgs)
Fires up when a portal setting was updated.
Declaration
public virtual void OnPortalSettingUpdated(PortalSettingUpdatedEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
PortalSettingUpdatedEventArgs | args | The event arguments. |
OnPortalTemplateCreated(PortalTemplateEventArgs)
Fires up when a portal template was created.
Declaration
public virtual void OnPortalTemplateCreated(PortalTemplateEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
PortalTemplateEventArgs | args | The event arguments. |
OnProfileUpdated(ProfileEventArgs)
Fires up when a user profile was updated.
Declaration
public virtual void OnProfileUpdated(ProfileEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
ProfileEventArgs | args | The event arguments. |
OnRoleCreated(RoleEventArgs)
Fires up when a role was created.
Declaration
public virtual void OnRoleCreated(RoleEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
RoleEventArgs | args | The event arguments. |
OnRoleDeleted(RoleEventArgs)
Fires up when a role was deleted.
Declaration
public virtual void OnRoleDeleted(RoleEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
RoleEventArgs | args | The event arguments. |
OnRoleJoined(RoleEventArgs)
Fires up when a role was joined.
Declaration
public virtual void OnRoleJoined(RoleEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
RoleEventArgs | args | The event arguments. |
OnRoleLeft(RoleEventArgs)
Fires up when a role was left.
Declaration
public virtual void OnRoleLeft(RoleEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
RoleEventArgs | args | The event arguments. |
OnTabCreated(TabEventArgs)
Fires up when a page (tab) was created.
Declaration
public virtual void OnTabCreated(TabEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
TabEventArgs | args | The event arguments. |
OnTabDeleted(TabEventArgs)
Fires up when a page (tab) was deleted.
Declaration
public virtual void OnTabDeleted(TabEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
TabEventArgs | args | The event arguments. |
OnTabDeserialize(TabSyncEventArgs)
Fires up when a page (tab) is deserialized.
Declaration
public virtual void OnTabDeserialize(TabSyncEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
TabSyncEventArgs | args | The event arguments. |
OnTabMarkedAsPublished(TabEventArgs)
Fires up when a page (tab) was marked as published.
Declaration
public virtual void OnTabMarkedAsPublished(TabEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
TabEventArgs | args | The event arguments. |
OnTabRemoved(TabEventArgs)
Fires up when a page (tab) was removed.
Declaration
public virtual void OnTabRemoved(TabEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
TabEventArgs | args | The event arguments. |
OnTabRestored(TabEventArgs)
Fires up when a page (tab) was restored.
Declaration
public virtual void OnTabRestored(TabEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
TabEventArgs | args | The event arguments. |
OnTabSerialize(TabSyncEventArgs)
Fires up when a page (tab) is serialized.
Declaration
public virtual void OnTabSerialize(TabSyncEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
TabSyncEventArgs | args | The event arguments. |
OnTabUpdated(TabEventArgs)
Fires up when a page (tab) was updated.
Declaration
public virtual void OnTabUpdated(TabEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
TabEventArgs | args | The event arguments. |
OnUnfollowRequested(RelationshipEventArgs)
Fires up when a user as requested to unfollow another user.
Declaration
public virtual void OnUnfollowRequested(RelationshipEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
RelationshipEventArgs | args | The event arguments. |
OnUserApproved(UserEventArgs)
Fires up when a user was approved.
Declaration
public virtual void OnUserApproved(UserEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
UserEventArgs | args | The event arguments. |
OnUserAuthenticated(UserEventArgs)
Fires up when a user was authenticated.
Declaration
public virtual void OnUserAuthenticated(UserEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
UserEventArgs | args | The event arguments. |
OnUserCreated(UserEventArgs)
Fires up when a user was created.
Declaration
public virtual void OnUserCreated(UserEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
UserEventArgs | args | The event arguments. |
OnUserDeleted(UserEventArgs)
Fires up when a user was deleted.
Declaration
public virtual void OnUserDeleted(UserEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
UserEventArgs | args | The event arguments. |
OnUserRemoved(UserEventArgs)
Fires up when a user was removed.
Declaration
public virtual void OnUserRemoved(UserEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
UserEventArgs | args | The event arguments. |
OnUserUpdated(UpdateUserEventArgs)
Fires up when a user was updated.
Declaration
public virtual void OnUserUpdated(UpdateUserEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
UpdateUserEventArgs | args | The event arguments. |
RefreshTabSyncHandlers()
Refreshes the page (tab) synchronization handlers.
Declaration
public void RefreshTabSyncHandlers()