Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
ConsoleOutWriteString.cs
1using System.Threading;
2using System.Threading.Tasks;
4
6{
11 {
12 private readonly string value;
13
18 public ConsoleOutWriteString(string Value)
19 {
20 this.value = Value;
21 }
22
27 public override Task Execute(CancellationToken Cancel)
28 {
29 System.Console.Out.Write(this.value);
30 return Task.CompletedTask;
31 }
32 }
33}
ConsoleOutWriteString(string Value)
Writes a string to the console
override Task Execute(CancellationToken Cancel)
Executes the console operation.
Represents an asynchronous operation to be performed.
Definition: WorkItem.cs:10