internal RestRequest GetUpdates(TvdbUpdatePeriod Period, object userState = null) { return(GetBuilder(REQUEST_GETUPDATES) .SetUserState(userState) .AddUrlSegment(RequestBuilder.URLSEGMENT_APIKEY, ApiKey) .AddUrlSegment(RequestBuilder.URLSEGMENT_PERIOD, Period.ToString()) .GetRequest()); }
internal RestRequest GetUpdates(TvdbUpdatePeriod Period, object userState = null) { return GetBuilder(REQUEST_GETUPDATES) .SetUserState(userState) .AddUrlSegment(RequestBuilder.URLSEGMENT_APIKEY, ApiKey) .AddUrlSegment(RequestBuilder.URLSEGMENT_PERIOD, Period.ToString()) .GetRequest(); }
public void GetUpdates(string XMLMirror, TvdbUpdatePeriod Period, object UserState, Action <TvdbAsyncResult <TvdbUpdates> > callback) { //ProcessAsyncRequest<TvdbUpdates>(XMLMirror, BuildGetUpdatesRequest(Period, UserState), callback); ProcessAsyncRequest <TvdbUpdates>(XMLMirror, Generator.GetUpdates(Period, UserState), callback); }
public TvdbUpdates GetUpdates(string XMLMirror, TvdbUpdatePeriod Period) { //return ProcessRequest<TvdbUpdates>(XMLMirror, BuildGetUpdatesRequest(Period)); return(ProcessRequest <TvdbUpdates>(XMLMirror, Generator.GetUpdates(Period))); }