BeforeAfterEventArgs<TOwner, TData>

EventArgsReferences
public class BeforeAfterEventArgs<TOwner, TData> : EventArgs
Utility event arguments for events that provide both before and after values.
TOwnerType of class which raised the event.
TDataType of data changed.

Constructors

BeforeAfterEventArgs

#
Construct a new instance.
public BeforeAfterEventArgs(
TOwner
owner,
TData
before,
TData
after
)

Properties

New

#
Gets the new value.
public TData New { get; }

Old

#
Gets the old value.
public TData Old { get; }

Owner

#
Gets the source for this event.
public TOwner Owner { get; }