Beispiel #1
0
        public void ListAllPagesAsync(string email, Action <FundraisingPageSummaries> callback)
        {
            var locationFormat = ListAllPagesLocationFormat(email);

            HttpChannel.GetAsync(locationFormat, callback);
        }
Beispiel #2
0
        public void ContentRatingHistoryAsync(Action <ContentRatingHistoryResponse> callback)
        {
            var resourceEndpoint = ContentRatingHistoryResourceEndpoint();

            HttpChannel.GetAsync(resourceEndpoint, callback);
        }
Beispiel #3
0
        public void InterestAsync(Action <AccountApi.InterestResponse> callback)
        {
            var resourceEndpoint = InterestResourceEndpoint();

            HttpChannel.GetAsync(resourceEndpoint, callback);
        }
Beispiel #4
0
        public void RetrievePagesAsync(int eventId, int?pageSize, int?pageNumber, Action <GetPagesForEventResponse> callback)
        {
            var locationFormat = RetrievePagesLocationFormat(eventId, pageSize, pageNumber);

            HttpChannel.GetAsync(locationFormat, callback);
        }
Beispiel #5
0
        public void RetrieveAsync(string teamShortName, Action <Team> callback)
        {
            var locationFormat = RetrieveLocationFormat(teamShortName);

            HttpChannel.GetAsync(locationFormat, callback);
        }
Beispiel #6
0
        public void RetrieveAsync(int eventId, Action <Event> callback)
        {
            var locationFormat = RetrieveLocationFormat(eventId);

            HttpChannel.GetAsync(locationFormat, callback);
        }
Beispiel #7
0
        public void PageUpdateAsync(string pageShortName, int updateId, Action <Update> callback)
        {
            var resurcesEndpoint = PageUpdateLocationFormat(pageShortName, updateId);

            HttpChannel.GetAsync(resurcesEndpoint, callback);
        }
Beispiel #8
0
        public void PageUpdatesAsync(string pageShortName, Action <Updates> callback)
        {
            var resourceEndpoint = PageUpdatesLocationFormat(pageShortName);

            HttpChannel.GetAsync(resourceEndpoint, callback);
        }
Beispiel #9
0
        public void ValidCurrencyCodesAsync(Action <Currencies> callback)
        {
            var resourceEndpoint = ResourceBase;

            HttpChannel.GetAsync <Currencies>(resourceEndpoint, callback);
        }
        public void CountriesAsync(Action <CountryCollection> callback)
        {
            var resourceEndpoint = ResourceBase;

            HttpChannel.GetAsync(resourceEndpoint, callback);
        }