예제 #1
0
        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);
        }
예제 #2
0
        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;
            }
        }