Beispiel #1
0
        public async Task Manage(Status status)
        {
            var lastValue = status.Get <int>("LastValue");

            Thread.Sleep(500);
            lastValue = new Random().Next();

            status.AddOrSet("Thread", "StatusService");
            status.AddOrSet("LastValue", lastValue);
        }