public SendFeedbackDialogModel(IBugReportCreator bugReporter) { _bugReporter = bugReporter; _bugReporter.Area = BugArea.CustomerFeedback; _bugReporter.IncludesSystemInformation = true; _bugReporter.IncludesVersionInformation = true; _bugReporter.ForceNewBugCreation = true; }
public SendBugReportDialogModel(Exception ex, IBugReportCreator bugReporter) { _bugReporter = bugReporter; _bugReporter.Area = BugArea.FieldCrash; _bugReporter.IncludesSystemInformation = true; _bugReporter.IncludesVersionInformation = true; _bugReporter.RelatedException = ex; BugPreviewText = _bugReporter.FullBugDetail.Trim(); }
public BugReportController(IBugReportFinder bugReportFinder, IBugReportRater bugReportRater, IMapper mapper, IUserFinder userFinder, ICommentCreator commentCreator, IBugReportCreator bugReportCreator, IPhotoFinder photoFinder ) { this.userFinder = userFinder; this.bugReportFinder = bugReportFinder; this.bugReportRater = bugReportRater; this.bugReportCreator = bugReportCreator; this._mapper = mapper; this.commentCreator = commentCreator; this.photoFinder = photoFinder; }