public ConsoleLogVM() { this.Entry = ""; this.TSUTC = DateTime.MinValue; this.TSLocal = TSUTC.ToLocalTime(); ProcessEntry(); }
//public ConsoleLogVM(ConsoleLog ConsoleLog) //{ // this.Entry = ConsoleLog.Entry; // this.TSUTC = ConsoleLog.TSUTC; // this.TSLocal = TSUTC.ToLocalTime(); // ProcessEntry(); //} public ConsoleLogVM(LogStruct Log) { this.Entry = Log.LogEntry; this.TSUTC = Log.TimeStampInUTC; this.TSLocal = TSUTC.ToLocalTime(); ProcessEntry(); }