public CreateBusinessAdminViewModel(IHttpClient client, IHttpExecutor httpExecutor, IModalService modalService, IToastService toastService) { _client = client; _httpExecutor = httpExecutor; _modalService = modalService; _toastService = toastService; }
public BusinessService(IUserContext context, IHttpExecutor httpExecutor, Endpoints endpoints, HttpClient client) { _baseBusinessesAddress = endpoints.Gateway + "businesses/"; client.BaseAddress = new Uri(_baseBusinessesAddress); client.DefaultRequestHeaders.Add("Authorization", $"Bearer {context.Token}"); Client = client; _httpExecutor = httpExecutor; }
public AdminAccountService(ILogger <AdminAccountService> logger, IHttpClient client, IToastService toastService, IHttpExecutor executor, Endpoints endpoints) { _logger = logger; _client = client; _toastService = toastService; _executor = executor; this._endpoints = endpoints; }
public SiteService(HttpClient client, IHttpExecutor executor, IUserContext context, ILogger <SiteService> logger, Endpoints endpoints) { _baseAddress = endpoints.Gateway + "sites/"; client.BaseAddress = new Uri(_baseAddress); client.DefaultRequestHeaders.Add("Authorization", $"Bearer {context.Token}"); _executor = executor; _logger = logger; Client = client; }
public Interpreter(Element root, Cursor cursor, string authorization, IHttpExecutor httpExecutor) { _program = root; _scope = new Scope(); _visitStack = new Stack <QueryPhaseArgs>(); _httpExecutor = httpExecutor ?? new HttpExecutor(new HttpExecutorRaw(authorization)); _editorCursor = cursor; _selectResult = new List <SelectTable>(); Errors = new ErrorsCollection(); }
private RunContext(string source, string authorization, Cursor cursor, ExecuteFlags flags, IHttpExecutor semanticHttpExecutor, IHttpExecutor httpExecutor) { _source = source; _flags = flags; _semanticHttpExecutor = semanticHttpExecutor; _httpExecutor = httpExecutor; Authorization = authorization; _editorCursor = cursor; Errors = new ErrorsCollection(); }
protected LimitQueryTable(IHttpExecutor httpExecutor, TableDescriptor descriptor) : base(httpExecutor, descriptor) { }
public InboundFlightInfoQueryTable(IHttpExecutor httpExecutor, TableDescriptor descriptor) : base(httpExecutor, descriptor) { }
public AirlineFlightScheduleQueryTable(IHttpExecutor httpExecutor, TableDescriptor descriptor) : base(httpExecutor, descriptor) { }
public HttpExecutor(IHttpExecutorRaw executor) { _raw = executor; _empty = new EmptyHttpExecutor(); }
public EnrouteQueryTable(IHttpExecutor httpExecutor, TableDescriptor descriptor) : base(httpExecutor, descriptor) { }
public GetHistoricalTrackQueryTable(IHttpExecutor httpExecutor, TableDescriptor descriptor) : base(httpExecutor, descriptor) { }
public static RunContext CreateRunContext(string code, IHttpExecutor httpExecutor) { return(new RunContext(code, string.Empty, new Cursor(), ExecuteFlags.Run, new EmptyHttpExecutor(), httpExecutor)); }
public static RunContext CreateSemanticContext(string code, IHttpExecutor semanticHttpExecutor) { return(new RunContext(code, string.Empty, new Cursor(), ExecuteFlags.Semantic, semanticHttpExecutor)); }
public GetFlightIdQueryTable(IHttpExecutor httpExecutor, TableDescriptor descriptor) : base(httpExecutor, descriptor) { }
protected QueryTable(IHttpExecutor httpExecutor, TableDescriptor descriptor) : base(descriptor) { HttpExecutor = httpExecutor; QueryArgs = new VariableContainer <QueryArgs>(); }
public FlightInfoExQueryTable(IHttpExecutor httpExecutor, TableDescriptor descriptor) : base(httpExecutor, descriptor) { }
public ArrivedQueryTable(IHttpExecutor httpExecutor, TableDescriptor descriptor) : base(httpExecutor, descriptor) { }
public MapFlightQueryTable(IHttpExecutor httpExecutor, TableDescriptor descriptor) : base(httpExecutor, descriptor) { }
public DepartedQueryTable(IHttpExecutor httpExecutor, TableDescriptor descriptor) : base(httpExecutor, descriptor) { }
private RunContext(string source, string authorization, Cursor cursor, ExecuteFlags flags, IHttpExecutor semanticHttpExecutor) : this(source, authorization, cursor, flags, semanticHttpExecutor, null) { }
public AirlineInfoQueryTable(IHttpExecutor httpExecutor, TableDescriptor descriptor) : base(httpExecutor, descriptor) { }
public ScheduledQueryTable(IHttpExecutor httpExecutor, TableDescriptor descriptor) : base(httpExecutor, descriptor) { }