protected override async Task OnAfterRenderAsync(bool aFirstRender) { //await ReduxDevToolsInterop.InitAsync(); await JsonRequestHandler.InitAsync(); await ClientLoader.InitAsync(); }
protected override async Task OnAfterRenderAsync(bool aFirstRender) { #if ReduxDevToolsEnabled await ReduxDevToolsInterop.InitAsync(); #endif await JsonRequestHandler.InitAsync(); }
public string BitbarSource() { JsonRequestHandler req = new JsonRequestHandler( this, APIRoutes.BitbarSource); return(req.Handle().ToString()); }
public JsonRequestHandlerTests(TestFixture aTestFixture) { ServiceProvider = aTestFixture.ServiceProvider; JsonRequestHandler = ServiceProvider.GetService <JsonRequestHandler>(); Store = ServiceProvider.GetService <IStore>(); JsonSerializerOptions = ServiceProvider.GetService <BlazorStateOptions>().JsonSerializerOptions; }
protected override async Task OnAfterRenderAsync(bool aFirstRender) { #if ReduxDevToolsEnabled await ReduxDevToolsInterop.InitAsync().ConfigureAwait(false); #endif await JsonRequestHandler.InitAsync().ConfigureAwait(false); await ClientLoader.LoadClient().ConfigureAwait(false); }
protected override async Task OnAfterRenderAsync(bool firstRender) { var logger = ApplicationLogging.CreateLogger <App>(); logger.LogInformation("Initializing App component..."); await ReduxDevToolsInterop.InitAsync(); await JsonRequestHandler.InitAsync(); logger.LogInformation("Initializing App component...done"); }
protected override async Task OnAfterRenderAsync(bool aFirstRender) { #if ReduxDevToolsEnabled await ReduxDevToolsInterop.InitAsync(); #endif await JsonRequestHandler.InitAsync(); await ClientLoader.InitAsync(); var tasks = new Task[] { Mediator.Send(new FetchWalletAction()), Mediator.Send(new FetchSchemasAction()), Mediator.Send(new FetchCredentialDefinitionsAction()), Mediator.Send(new FetchConnectionsAction()), Mediator.Send(new FetchCredentialsAction()), Mediator.Send(new FetchProofsAction()) }; await Task.WhenAll(tasks); }
protected override async Task OnAfterRenderAsync() { await ReduxDevToolsInterop.InitAsync(); await JsonRequestHandler.InitAsync(); }
public Handle_Should(ClientHost aWebAssemblyHost) : base(aWebAssemblyHost) { JsonRequestHandler = ServiceProvider.GetService <JsonRequestHandler>(); JsonSerializerOptions = ServiceProvider.GetService <BlazorStateOptions>().JsonSerializerOptions; }
protected override async Task OnAfterRenderAsync(bool aFirstRender) { await JsonRequestHandler.InitAsync().ConfigureAwait(false); await ClientLoader.LoadClient().ConfigureAwait(false); }