/// <summary> /// The StartAppAsync. /// </summary> /// <returns>The <see cref="Task"/>.</returns> public async Task StartAppAsync() { IWorker server = argsValidator.Validation(config["Servertype"], config["Port"]); server.Connect(); myLogger.LogTrace("Connected "); await server.GetAsync(); }