示例#1
0
        protected override async Task OnAfterRenderAsync(bool aFirstRender)
        {
            //await ReduxDevToolsInterop.InitAsync();
            await JsonRequestHandler.InitAsync();

            await ClientLoader.InitAsync();
        }
示例#2
0
        protected override async Task OnAfterRenderAsync(bool aFirstRender)
        {
#if ReduxDevToolsEnabled
            await ReduxDevToolsInterop.InitAsync();
#endif
            await JsonRequestHandler.InitAsync();
        }
示例#3
0
        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;
 }
示例#5
0
        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);
        }
示例#6
0
        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");
        }
示例#7
0
        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);
        }
示例#8
0
        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;
 }
示例#10
0
        protected override async Task OnAfterRenderAsync(bool aFirstRender)
        {
            await JsonRequestHandler.InitAsync().ConfigureAwait(false);

            await ClientLoader.LoadClient().ConfigureAwait(false);
        }