コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="LabsChannelView"/> class.
 /// </summary>
 /// <param name="viewModel">The view model.</param>
 public LabsChannelView(LabsChannelViewModel viewModel)
     : this()
 {
     Guard.ArgumentNotNull(viewModel, "viewModel");
     this.DataContext = viewModel;
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="LabsChannelView"/> class.
 /// </summary>
 /// <param name="viewModel">The view model.</param>
 public LabsChannelView(LabsChannelViewModel viewModel)
     : this()
 {
     Guard.ArgumentNotNull(viewModel, "viewModel");
     this.DataContext = viewModel;
 }