/// <summary> /// Initializes a new instance of the <see cref="DebugOutputMonitorAPISession" /> class. /// </summary> /// <param name="viewModel">A reference to our view model</param> /// <param name="monitorAPISession">The symbol monitoring session</param> /// <param name="canRemove">Whether or not this symbol can be removed from monitoring</param> public DebugOutputMonitorAPISession(DebugOutputViewModel viewModel, IMonitorAPISession monitorAPISession, bool canRemove) { this.ViewModel = viewModel; this.MonitorAPISession = monitorAPISession; this.CanRemove = canRemove; }
/// <summary> /// Initializes a new instance of the <see cref="DebugOutputWindow" /> class. /// </summary> /// <param name="viewModel">The view model</param> public DebugOutputWindow(DebugOutputViewModel viewModel) { this.InitializeComponent(); this.DataContext = viewModel; }