Exemplo n.º 1
0
 public HttpApiClientRequestBuilderFactory(HttpClient httpClient, IUriHelper uriHelper, IBrowserCookieService browserCookieService, IJsInterop jsInterop)
 {
     _uriHelper  = uriHelper;
     _httpClient = httpClient;
     this.browserCookieService = browserCookieService;
     this.jsInterop            = jsInterop;
 }
Exemplo n.º 2
0
 public HttpApiClientRequestBuilder(HttpClient httpClient, string uri, IUriHelper uriHelper, IBrowserCookieService browserCookieService, ElementRef elementRef = default(ElementRef))
 {
     _uri                      = uri;
     this.uriHelper            = uriHelper;
     _httpClient               = httpClient;
     _elementRef               = elementRef;
     this.browserCookieService = browserCookieService;
 }
Exemplo n.º 3
0
 public HttpApiClientRequestBuilderFactory(HttpClient httpClient, NavigationManager navigationManager, IBrowserCookieService browserCookieService, IJsInterop jsInterop, IMessageService messageService)
 {
     _navigationManager        = navigationManager;
     _httpClient               = httpClient;
     this.browserCookieService = browserCookieService;
     this.jsInterop            = jsInterop;
     this.messageService       = messageService;
 }
Exemplo n.º 4
0
 public HttpService(HttpClient http,
                    ILocalStorageService localStorage,
                    NotificationService notification,
                    IBrowserCookieService browserCookieService,
                    IStringLocalizer <validation> localizer)
 {
     _http                 = http;
     _localStorage         = localStorage;
     _notification         = notification;
     _browserCookieService = browserCookieService;
     _localizer            = localizer;
 }
        public HttpApiClientRequestBuilder(HttpClient httpClient,
                                           string uri,
                                           IUriHelper uriHelper,
                                           IBrowserCookieService browserCookieService, IJsInterop jsInterop, IMessageService messageService)
        {
            _relativeUri = uri;
            _uri         = uriHelper.ToAbsoluteUri(uri).ToString();
            _uriHelper   = uriHelper;
            _httpClient  = httpClient;

            _browserCookieService = browserCookieService;
            _jsInterop            = jsInterop;
            _messageService       = messageService;
        }
 public CSRFTokenMessageHandler(IBrowserCookieService browserCookieService)
 {
     _browserCookieService = browserCookieService;
 }