DocumentEventArgs<T>

EventArgsReferences
public abstract class DocumentEventArgs<T> : EventArgs
Generic class for document events.
T

Constructors

DocumentEventArgs

#
protected DocumentEventArgs(Document document, T before, T after)
Construct new event arguments.
document (Document)Document that raised the event.
before (T)Before value.
after (T)After value.

Fields

_after

#
protected readonly T _after

_before

#
protected readonly T _before

Properties

Document

#
public Document Document { get; }
Gets the document that raised this event.

NewState

#
public T NewState { get; }
Gets the new state.

Oldstate

#
public T Oldstate { get; }
Gets the old state that existed before the event.