public LedgerManagerBroker(int?pollInterval, ICoinUtility coinUtility, ErrorPromptDelegate errorPromptDelegate, ILedgerManagerFactory ledgerManagerFactory) { CoinUtility = coinUtility; PollInterval = pollInterval; ErrorPromptDelegate = errorPromptDelegate; LedgerManagerFactory = ledgerManagerFactory; }
protected static void StartBroker(ErrorPromptDelegate errorPrompt, ILedgerManagerFactory ledgerManagerFactory) { _LedgerManagerBroker = new LedgerManagerBroker(3000, null, Prompt, ledgerManagerFactory); _LedgerManagerBroker.Start(); }