ChessConsole.Commands.CommandUserList.DoWork C# (CSharp) Метод

DoWork() публичный Метод

public DoWork ( IEnumerable args ) : void
args IEnumerable
Результат void
        public override void DoWork(IEnumerable<string> args)
        {
            if (Utils.CheckArgs(ArgsNeed, args.Count()))
            {
                var request = new UserListRequest();
                var response = ServerProvider.MakeRequest<UserListResponse>(request);
                foreach (var element in response.Users)
                {
                    Console.WriteLine(element);
                }
            }
        }
CommandUserList