public ExecuteCommandResult(ExpenseReport expenseReport, string command, IWorkflowFacilitator facilitator, IStateCommandVisitor visitor, IUserSession session, INotifier notifier)
 {
     _expenseReport = expenseReport;
     _session = session;
     _notifier = notifier;
     _command = command;
     _facilitator = facilitator;
     _visitor = visitor;
 }
 public ExpenseReportController(IExpenseReportBuilder expenseReportBuilder, IUserSession session,
     IWorkflowFacilitator workflowFacilitator, Bus bus, ICalendar calendar)
 {
     _expenseReportBuilder = expenseReportBuilder;
     _session = session;
     _workflowFacilitator = workflowFacilitator;
     _bus = bus;
     _calendar = calendar;
 }
Exemple #3
0
 public ExpenseReportController(IExpenseReportBuilder expenseReportBuilder, IUserSession session,
                                IWorkflowFacilitator workflowFacilitator, Bus bus, ICalendar calendar)
 {
     _expenseReportBuilder = expenseReportBuilder;
     _session             = session;
     _workflowFacilitator = workflowFacilitator;
     _bus      = bus;
     _calendar = calendar;
 }
Exemple #4
0
 public ExecuteCommandResult(ExpenseReport expenseReport, string command, IWorkflowFacilitator facilitator, IStateCommandVisitor visitor, IUserSession session, INotifier notifier)
 {
     _expenseReport = expenseReport;
     _session       = session;
     _notifier      = notifier;
     _command       = command;
     _facilitator   = facilitator;
     _visitor       = visitor;
 }
Exemple #5
0
 public ExpenseReportController(IEmployeeRepository employeeRepository,
                                IExpenseReportRepository expenseReportRepository, IExpenseReportBuilder expenseReportBuilder, IUserSession session,
                                IWorkflowFacilitator workflowFacilitator, IStateCommandVisitor stateCommandVisitor)
 {
     _employeeRepository      = employeeRepository;
     _expenseReportRepository = expenseReportRepository;
     _expenseReportBuilder    = expenseReportBuilder;
     _session             = session;
     _workflowFacilitator = workflowFacilitator;
 }