コード例 #1
0
 /// <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;
 }
コード例 #2
0
 /// <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;
 }