public ProcessLogItem(ProcessLogItemType type, string message, Exception exception) { When = DateTime.UtcNow; Type = type; Message = message; Exception = exception; }
public ProcessLogItem(ProcessLogItemType type, string message, Exception exception) { When = DateTime.UtcNow; Type = type; Message = Optional(message); Exception = Optional(exception); }
public ProcessLogItem(ProcessLogItemType type, Exception exception) : this(type, null, exception) { }
public ProcessLogItem(ProcessLogItemType type, string message) : this(type, message, null) { }