public virtual void MessageWithoutLocalizing(string message, ProgressKind kind = ProgressKind.Progress) { dynamic messageBundle = new DynamicJson(); messageBundle.message = message; messageBundle.progressKind = kind.ToString(); _bloomWebSocketServer.SendBundle(_clientContext, "message", messageBundle); }
public virtual void MessageWithoutLocalizing(string message, ProgressKind kind = ProgressKind.Progress) { dynamic messageBundle = new DynamicJson(); messageBundle.message = message; messageBundle.progressKind = kind.ToString(); _bloomWebSocketServer.SendBundle(_clientContext, "message", messageBundle); switch (kind) { case ProgressKind.Fatal: HaveProblemsBeenReported = true; HasFatalProblemBeenReported = true; break; case ProgressKind.Error: case ProgressKind.Warning: HaveProblemsBeenReported = true; break; } }