C# Class TimestampedEventArgs, extensions

Base class for domain event payloads, which are always timestamped.
Inheritance: EventArgs
Datei anzeigen Open project: netfx/extensions Class Usage Examples

Public Methods

Method Description
TimestampedEventArgs ( ) : System

Initializes a new instance of the TimestampedEventArgs class.

TimestampedEventArgs ( DateTime timestamp = null ) : System

Initializes a new instance of the TimestampedEventArgs class.

Method Details

TimestampedEventArgs() public method

Initializes a new instance of the TimestampedEventArgs class.
public TimestampedEventArgs ( ) : System
return System

TimestampedEventArgs() public method

Initializes a new instance of the TimestampedEventArgs class.
public TimestampedEventArgs ( DateTime timestamp = null ) : System
timestamp DateTime The time when the event occurred.
return System