Exemplo n.º 1
0
            public virtual async Task <string> FormatUserNameAsync(long userId)
            {
                WriteLine($"* {nameof(FormatUserNameAsync)}({userId})");
                var userName = await _users.GetUserNameAsync(userId);

                var time = await _clock.GetTimeAsync();

                return($"{time:HH:mm:ss:fff}: User({userId})'s name is '{userName}'");
            }