protected virtual string GetDetailViewUrl() { ViewShortcut shortcut = new ViewShortcut(View.Model.DetailView.Id, UrlKeyPlaceholder); IHttpRequestManager requestManager = ((WebApplication)Application).RequestManager; string url = string.Format("{0}#{1}", WebApplication.DefaultPage, requestManager.GetQueryString(shortcut)); return(url); }
public TransacactionsStrategy( IOutputDevice outputDevice, IHttpRequestManager httpRequestManager, IInputDevice inputDevice) { this.inputDevice = inputDevice; this.outputDevice = outputDevice; this.httpRequestManager = httpRequestManager; }
public BalancesStrategy( IOutputDevice outputDevice, IHttpRequestManager httpRequestManager, IInputDevice inputDevice) { this.outputDevice = outputDevice; this.httpRequestManager = httpRequestManager; this.inputDevice = inputDevice; }
public ReadClientsStrategy( IOutputDevice outputDevice, IHttpRequestManager httpRequestManager, IInputDevice inputDevice) { this.inputDevice = inputDevice; this.outputDevice = outputDevice; this.httpRequestManager = httpRequestManager; }
public SeasonParticipantHarvester(ApiSettings settings, ILogger <SeasonParticipantHarvester> logger, IHarvestRequestManager harvestrequestmanager, IHttpRequestManager httpmanager) : base(harvestrequestmanager) { _logger = logger; _httpmanager = httpmanager; _participantsapiroot = settings.SeasonsDbApiRootKey; _registrationsApiPath = settings.ClubSeasonRegistrationsApiPath; _apisettings = settings; }
public HarvestRequestManager(ILogger <HarvestRequestManager> logger, IHttpRequestManager httpmanager, int maxrequestspermin = 30) { _httpManager = httpmanager; _logger = logger; MaxRequestsPerMin = maxrequestspermin; RunningTimer = new Stopwatch(); RunningTimer.Start(); }
public DealMakeStrategy( IOutputDevice outputDevice, IHttpRequestManager httpRequestManager, IInputDevice inputDevice, ICommandParser commandParser) { this.inputDevice = inputDevice; this.outputDevice = outputDevice; this.httpRequestManager = httpRequestManager; this.commandParser = commandParser; }
public StandardHeader(IHttpRequestManager manager) { _manager = manager; }
public MyObjectService(IHttpRequestManager requestManager) { if (requestManager == null) throw new ArgumentNullException(); _requestManager = requestManager; }
public RequestManagerInitializer(IHttpRequestManager httpRequestManager) { _httpRequestManager = httpRequestManager; }
public CookieInitialiser(IHttpRequestManager httpmanager) { _httpmanager = httpmanager; }
public HttpDownloader() { m_HttpRequestManager = new HttpRequestManager(new HttpClientWrapper(120), new HttpResponseParser()); }
internal BuildConnection(IHttpRequestManager manager) { _manager = manager; }