private async Task GetLedgerBase(ErrorPromptDelegate errorPrompt = null) { var ledgerManagerBroker = new LedgerManagerBroker(3000, null, Prompt); _LedgerManager = await ledgerManagerBroker.WaitForFirstDeviceAsync(); }
protected static void StartBroker(ErrorPromptDelegate errorPrompt, ILedgerManagerFactory ledgerManagerFactory) { _LedgerManagerBroker = new LedgerManagerBroker(3000, null, Prompt, ledgerManagerFactory); _LedgerManagerBroker.Start(); }