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