GiantBomb.Api.GiantBombRestClient.GetReleasesForGameAsync C# (CSharp) Method

GetReleasesForGameAsync() public method

public GetReleasesForGameAsync ( int gameId, string limitFields = null ) : Task>
gameId int
limitFields string
return Task>
        public async Task<IEnumerable<Release>> GetReleasesForGameAsync(int gameId, string[] limitFields = null)
        {
            var filter = new Dictionary<string, object>()
                             {
                                 {"game", gameId}
                             };

            return await GetListResourceAsync<Release>("releases", fieldList: limitFields, filterOptions: filter).ConfigureAwait(false);
        }

Same methods

GiantBombRestClient::GetReleasesForGameAsync ( GiantBomb.Api.Model.Game game, string limitFields = null ) : Task>