Ejemplo n.º 1
0
        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;
 }
Ejemplo n.º 3
0
 public BalancesStrategy(
     IOutputDevice outputDevice,
     IHttpRequestManager httpRequestManager,
     IInputDevice inputDevice)
 {
     this.outputDevice       = outputDevice;
     this.httpRequestManager = httpRequestManager;
     this.inputDevice        = inputDevice;
 }
Ejemplo n.º 4
0
 public ReadClientsStrategy(
     IOutputDevice outputDevice,
     IHttpRequestManager httpRequestManager,
     IInputDevice inputDevice)
 {
     this.inputDevice        = inputDevice;
     this.outputDevice       = outputDevice;
     this.httpRequestManager = httpRequestManager;
 }
Ejemplo n.º 5
0
        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;
        }
Ejemplo n.º 6
0
        public HarvestRequestManager(ILogger <HarvestRequestManager> logger, IHttpRequestManager httpmanager, int maxrequestspermin = 30)
        {
            _httpManager      = httpmanager;
            _logger           = logger;
            MaxRequestsPerMin = maxrequestspermin;

            RunningTimer = new Stopwatch();
            RunningTimer.Start();
        }
Ejemplo n.º 7
0
 public DealMakeStrategy(
     IOutputDevice outputDevice,
     IHttpRequestManager httpRequestManager,
     IInputDevice inputDevice,
     ICommandParser commandParser)
 {
     this.inputDevice        = inputDevice;
     this.outputDevice       = outputDevice;
     this.httpRequestManager = httpRequestManager;
     this.commandParser      = commandParser;
 }
Ejemplo n.º 8
0
 public StandardHeader(IHttpRequestManager manager)
 {
     _manager = manager;
 }
Ejemplo n.º 9
0
 public MyObjectService(IHttpRequestManager requestManager)
 {
     if (requestManager == null) throw new ArgumentNullException();
     _requestManager = requestManager;
 }
Ejemplo n.º 10
0
 public RequestManagerInitializer(IHttpRequestManager httpRequestManager)
 {
     _httpRequestManager = httpRequestManager;
 }
Ejemplo n.º 11
0
 public CookieInitialiser(IHttpRequestManager httpmanager)
 {
     _httpmanager = httpmanager;
 }
Ejemplo n.º 12
0
 public HttpDownloader()
 {
     m_HttpRequestManager = new HttpRequestManager(new HttpClientWrapper(120), new HttpResponseParser());
 }
Ejemplo n.º 13
0
 internal BuildConnection(IHttpRequestManager manager)
 {
     _manager = manager;
 }