private void DispatcherFrameworkCleared(object sender, FrameworkEventArgs args) { PortfolioEventQueue.Clear(); PortfolioManagerEventQueue.Clear(); PortfolioEventQueue.Enqueue(new OnFrameworkCleared(args.Framework)); PortfolioManagerEventQueue.Enqueue(new OnFrameworkCleared(args.Framework)); }
private void DispatcherPortfolioRemoved(object sender, PortfolioEventArgs args) { PortfolioManagerEventQueue.Enqueue(new OnPortfolioRemoved(args.Portfolio)); }