14 lines
338 B
C#
14 lines
338 B
C#
using System;
|
|
|
|
namespace xEventService.Base {
|
|
public abstract class XBaseEvent {
|
|
public string Type { get; protected set; }
|
|
public DateTime Timestamp { get; protected set; }
|
|
|
|
protected XBaseEvent () {
|
|
//
|
|
Type = GetType ().Name;
|
|
Timestamp = DateTime.UtcNow;
|
|
}
|
|
}
|
|
} |