ContentSwapEventArgs

EventArgs
public sealed class ContentSwapEventArgs : EventArgs
Event arguments used when swapping documentation content.

Constructors

ContentSwapEventArgs

#
public ContentSwapEventArgs(ContentId id, Content oldContent, Content newContent)
id (ContentId)
oldContent (Content)
newContent (Content)

Properties

Id

#
public ContentId Id { get; }
Gets the identifier.

NewContent

#
public Content NewContent { get; }
Gets the content which was swapped. This may be null if the original content is supposed to be restored.

OldContent

#
public Content OldContent { get; }
Gets the content which was swapped. This may be null if the original content is supposed to be restored.