示例#1
0
 internal static void FeedOutputBuilder(SandboxedProcessOutputBuilder output, string line)
 {
     if (line != null)
     {
         output.AppendLine(line);
     }
 }
示例#2
0
 private static void FeedOutputBuilder(SandboxedProcessOutputBuilder output, TaskSourceSlim <Unit> signalCompletion, string line)
 {
     output.AppendLine(line);
     if (line == null)
     {
         signalCompletion.TrySetResult(Unit.Void);
     }
 }
示例#3
0
        internal static void FeedOutputBuilder(SandboxedProcessOutputBuilder output, TaskSourceSlim <Unit> signalCompletion, string line)
        {
            if (signalCompletion.Task.IsCompleted)
            {
                return;
            }

            output.AppendLine(line);
            if (line == null)
            {
                signalCompletion.TrySetResult(Unit.Void);
            }
        }