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