コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ExceptionReportsController"/> class.
 /// </summary>
 /// <param name="exceptionReportManager">The exception report manager.</param>
 public ExceptionReportsController(IExceptionReportManager exceptionReportManager)
 {
     this.exceptionReportManager = exceptionReportManager;
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ExceptionReportManagerTests"/> class.
 /// </summary>
 public ExceptionReportManagerTests()
 {
     this.exceptionReportData = new Mock<IExceptionReportData>();
     this.exceptionReportManager = new ExceptionReportManager(this.exceptionReportData.Object);
 }