public SaveInspectionTestResultsCommand(IInspectionTestResultRepository repo, PartInspectionViewModel viewModel, IUserNotify notify, ISecurityContext ctx)
 {
     this.repo = repo;
     this.viewModel = viewModel;
     this.notify = notify;
     this.ctx = ctx;
 }
Пример #2
0
 public SaveInspectionTestResultsCommand(IInspectionTestResultRepository repo, PartInspectionViewModel viewModel, IUserNotify notify, ISecurityContext ctx)
 {
     this.repo      = repo;
     this.viewModel = viewModel;
     this.notify    = notify;
     this.ctx       = ctx;
 }
Пример #3
0
 public PartInspectionRepository(ISession session)
 {
     this.session                  = session;
     this.repoInspector            = new InspectorRepository(session);
     this.repoInspectionTestResult = new InspectionTestResultRepository(session);
     this.repoPipe                 = new PipeRepository(session);
     this.repoSpool                = new SpoolRepository(session);
     this.repoComponent            = new ComponentRepository(session);
 }
 public PartInspectionRepository(ISession session)
 {
     this.session = session;
     this.repoInspector = new InspectorRepository(session);
     this.repoInspectionTestResult = new InspectionTestResultRepository(session);
     this.repoPipe = new PipeRepository(session);
     this.repoSpool = new SpoolRepository(session);
     this.repoComponent = new ComponentRepository(session);
     this.repoJoint = new JointRepository(session);
 }