示例#1
0
        public async Task <LastResponse> AddShoutAsync(string artistname, string message)
        {
            var command = new AddShoutCommand(Auth, artistname, message)
            {
                HttpClient = HttpClient
            };

            return(await command.ExecuteAsync());
        }
示例#2
0
文件: UserApi.cs 项目: PCurd/lastfm
        public async Task <LastResponse> AddShoutAsync(string recipient, string message)
        {
            var command = new AddShoutCommand(Auth, recipient, message);

            return(await command.ExecuteAsync());
        }
示例#3
0
        public async Task<LastResponse> AddShoutAsync(string artistname, string message)
        {
            var command = new AddShoutCommand(Auth, artistname, message)
            {
                HttpClient = HttpClient
            };

            return await command.ExecuteAsync();
        }