public MintLogger(string testName, string function, string description, TestStatus status, System.TimeSpan duration, string alert = null, string message = null, string error = null, Dictionary <string, string> args = null) { this.function = function; this.duration = (int)duration.TotalMilliseconds; this.name = this.name + ": " + testName; this.alert = alert; this.message = message; this.error = error; this.args = args; this.status = status.AsText(); }