Beispiel #1
0
        protected async Task WriteLineAndFlushAsync(string text, params object[] arg)
        {
            string formattedText = string.Format(text, arg);

            Session.AppendToLog(formattedText);
            await ConnectionChannel.WriteLineAsync(formattedText);

            await ConnectionChannel.FlushAsync();
        }