internal static (ObservedQuoteManager <T> Observer, IQuoteManagerExtended <T> QuoteManager) Create(Func <IQuoteObserver <T>, IQuoteManagerExtended <T> > managerFactory) { var observableManager = new ObservedQuoteManager <T>(); var quoteManager = managerFactory(observableManager); return(observableManager, quoteManager); }
public ObservableUnsubscriber(ObservedQuoteManager <T> manager, IQuoteObserver <T> observer) { _manager = manager; _observer = observer; }