private void printMessage(RunMessageType type, string message) { var normal = true; var color = "Black"; if (type == RunMessageType.Succeeded) { color = "Green"; normal = false; } if (type == RunMessageType.Failed) { color = "Red"; normal = false; } _dispatch("status-information", new { message = message, color = color, normal = normal }); }
public RunMessages(RunMessageType type, string message) { Type = type; Message = message; }
private void printMessage(RunMessageType type, string message) { var normal = true; var color = "Black"; if (type == RunMessageType.Succeeded) { color = "Green"; normal = false; } if (type == RunMessageType.Failed) { color = "Red"; normal = false; } _dispatch("status-information", new { message = message, color = color, normal = normal }); }
public RunMessages(RunMessageType type, string message) { Type = type; Message = message; }