Class DefaultContentEvents

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.

Inheritance
System.Object
DefaultContentEvents
Implements
System.IDisposable
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Core.Internal
Assembly: EPiServer.dll
Version: 11.20.7
Syntax
[ServiceConfiguration(typeof(IContentEvents), Lifecycle = ServiceInstanceScope.Singleton, FactoryMember = "Instance")]
[ServiceConfiguration(typeof(DefaultContentEvents), Lifecycle = ServiceInstanceScope.Singleton, FactoryMember = "Instance")]
public class DefaultContentEvents : IContentEvents, IDisposable

Constructors

DefaultContentEvents()

Declaration
public DefaultContentEvents()

Properties

Instance

Declaration
public static DefaultContentEvents Instance { get; }
Property Value
Type Description
DefaultContentEvents

Methods

CreateSaveEventArgs(IContent, SaveAction, AccessLevel, StatusTransition)

Declaration
public virtual SaveContentEventArgs CreateSaveEventArgs(IContent content, SaveAction action, AccessLevel access, StatusTransition transition)
Parameters
Type Name Description
IContent content
SaveAction action
AccessLevel access
StatusTransition transition
Returns
Type Description
SaveContentEventArgs

Dispose()

Declaration
public void Dispose()

Dispose(Boolean)

Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type Name Description
System.Boolean disposing

RaiseCancellableContentEvent(String, String, ContentEventArgs)

Declaration
public virtual void RaiseCancellableContentEvent(string key, string defaultReason, ContentEventArgs eventArgs)
Parameters
Type Name Description
System.String key
System.String defaultReason
ContentEventArgs eventArgs

RaiseCancellableDeleteEvent(String, String, DeleteContentEventArgs)

Declaration
public virtual void RaiseCancellableDeleteEvent(string key, string defaultReason, DeleteContentEventArgs eventArgs)
Parameters
Type Name Description
System.String key
System.String defaultReason
DeleteContentEventArgs eventArgs

RaiseChildrenEvent(String, ChildrenEventArgs)

Declaration
public virtual bool RaiseChildrenEvent(string key, ChildrenEventArgs eventArgs)
Parameters
Type Name Description
System.String key
ChildrenEventArgs eventArgs
Returns
Type Description
System.Boolean

RaiseContentEvent(String, ContentEventArgs)

Declaration
public virtual bool RaiseContentEvent(string key, ContentEventArgs eventArgs)
Parameters
Type Name Description
System.String key
ContentEventArgs eventArgs
Returns
Type Description
System.Boolean

RaiseDeleteEvent(String, DeleteContentEventArgs)

Declaration
public virtual bool RaiseDeleteEvent(string key, DeleteContentEventArgs eventArgs)
Parameters
Type Name Description
System.String key
DeleteContentEventArgs eventArgs
Returns
Type Description
System.Boolean

Events

CheckedInContent

Declaration
public event EventHandler<ContentEventArgs> CheckedInContent
Event Type
Type Description
System.EventHandler<ContentEventArgs>

CheckedOutContent

Declaration
public event EventHandler<ContentEventArgs> CheckedOutContent
Event Type
Type Description
System.EventHandler<ContentEventArgs>

CheckingInContent

Declaration
public event EventHandler<ContentEventArgs> CheckingInContent
Event Type
Type Description
System.EventHandler<ContentEventArgs>

CheckingOutContent

Declaration
public event EventHandler<ContentEventArgs> CheckingOutContent
Event Type
Type Description
System.EventHandler<ContentEventArgs>

CreatedContent

Declaration
public event EventHandler<ContentEventArgs> CreatedContent
Event Type
Type Description
System.EventHandler<ContentEventArgs>

CreatedContentLanguage

Declaration
public event EventHandler<ContentEventArgs> CreatedContentLanguage
Event Type
Type Description
System.EventHandler<ContentEventArgs>

CreatingContent

Declaration
public event EventHandler<ContentEventArgs> CreatingContent
Event Type
Type Description
System.EventHandler<ContentEventArgs>

CreatingContentLanguage

Declaration
public event EventHandler<ContentEventArgs> CreatingContentLanguage
Event Type
Type Description
System.EventHandler<ContentEventArgs>

DeletedContent

Declaration
public event EventHandler<DeleteContentEventArgs> DeletedContent
Event Type
Type Description
System.EventHandler<DeleteContentEventArgs>

DeletedContentLanguage

Declaration
public event EventHandler<ContentEventArgs> DeletedContentLanguage
Event Type
Type Description
System.EventHandler<ContentEventArgs>

DeletedContentVersion

Declaration
public event EventHandler<ContentEventArgs> DeletedContentVersion
Event Type
Type Description
System.EventHandler<ContentEventArgs>

DeletingContent

Declaration
public event EventHandler<DeleteContentEventArgs> DeletingContent
Event Type
Type Description
System.EventHandler<DeleteContentEventArgs>

DeletingContentLanguage

Declaration
public event EventHandler<ContentEventArgs> DeletingContentLanguage
Event Type
Type Description
System.EventHandler<ContentEventArgs>

DeletingContentVersion

Declaration
public event EventHandler<ContentEventArgs> DeletingContentVersion
Event Type
Type Description
System.EventHandler<ContentEventArgs>

FailedLoadingChildren

Declaration
public event ChildrenEventHandler FailedLoadingChildren
Event Type
Type Description
ChildrenEventHandler

FailedLoadingContent

Declaration
public event EventHandler<ContentEventArgs> FailedLoadingContent
Event Type
Type Description
System.EventHandler<ContentEventArgs>

FinishedLoadingChildren

Declaration
public event ChildrenEventHandler FinishedLoadingChildren
Event Type
Type Description
ChildrenEventHandler

LoadedChildren

Declaration
public event ChildrenEventHandler LoadedChildren
Event Type
Type Description
ChildrenEventHandler

LoadedContent

Declaration
public event EventHandler<ContentEventArgs> LoadedContent
Event Type
Type Description
System.EventHandler<ContentEventArgs>

LoadedDefaultContent

Declaration
public event EventHandler<ContentEventArgs> LoadedDefaultContent
Event Type
Type Description
System.EventHandler<ContentEventArgs>

LoadingChildren

Declaration
public event ChildrenEventHandler LoadingChildren
Event Type
Type Description
ChildrenEventHandler

LoadingContent

Declaration
public event EventHandler<ContentEventArgs> LoadingContent
Event Type
Type Description
System.EventHandler<ContentEventArgs>

LoadingDefaultContent

Declaration
public event EventHandler<ContentEventArgs> LoadingDefaultContent
Event Type
Type Description
System.EventHandler<ContentEventArgs>

MovedContent

Declaration
public event EventHandler<ContentEventArgs> MovedContent
Event Type
Type Description
System.EventHandler<ContentEventArgs>

MovingContent

Declaration
public event EventHandler<ContentEventArgs> MovingContent
Event Type
Type Description
System.EventHandler<ContentEventArgs>

PublishedContent

Declaration
public event EventHandler<ContentEventArgs> PublishedContent
Event Type
Type Description
System.EventHandler<ContentEventArgs>

PublishingContent

Declaration
public event EventHandler<ContentEventArgs> PublishingContent
Event Type
Type Description
System.EventHandler<ContentEventArgs>

RejectedContent

Declaration
public event EventHandler<ContentEventArgs> RejectedContent
Event Type
Type Description
System.EventHandler<ContentEventArgs>

RejectingContent

Declaration
public event EventHandler<ContentEventArgs> RejectingContent
Event Type
Type Description
System.EventHandler<ContentEventArgs>

RequestedApproval

Declaration
public event EventHandler<ContentEventArgs> RequestedApproval
Event Type
Type Description
System.EventHandler<ContentEventArgs>

RequestingApproval

Declaration
public event EventHandler<ContentEventArgs> RequestingApproval
Event Type
Type Description
System.EventHandler<ContentEventArgs>

SavedContent

Declaration
public event EventHandler<ContentEventArgs> SavedContent
Event Type
Type Description
System.EventHandler<ContentEventArgs>

SavingContent

Declaration
public event EventHandler<ContentEventArgs> SavingContent
Event Type
Type Description
System.EventHandler<ContentEventArgs>

ScheduledContent

Declaration
public event EventHandler<ContentEventArgs> ScheduledContent
Event Type
Type Description
System.EventHandler<ContentEventArgs>

SchedulingContent

Declaration
public event EventHandler<ContentEventArgs> SchedulingContent
Event Type
Type Description
System.EventHandler<ContentEventArgs>

Implements

System.IDisposable

Extension Methods