private readonly ITextbookRepository _textbookRepo; //= ServiceLocator.Current.GetInstance<ITextbookRepository>(); #endregion #region 构造函数 public DeclarationAppl(ITypeAdapter adapter, ITeacherRepository teacherRepo, ITeachingTaskRepository teachingTaskRepo, ITextbookRepository textbookRepo) { _adapter = adapter; _teacherRepo = teacherRepo; _teachingTaskRepo = teachingTaskRepo; _textbookRepo = textbookRepo; }
private readonly ITextbookRepository _textbookRepo; //= ServiceLocator.Current.GetInstance<ITextbookRepository>(); #endregion Fields #region Constructors public DeclarationAppl(ITypeAdapter adapter, ITeacherRepository teacherRepo, ITeachingTaskRepository teachingTaskRepo, ITextbookRepository textbookRepo) { _adapter = adapter; _teacherRepo = teacherRepo; _teachingTaskRepo = teachingTaskRepo; _textbookRepo = textbookRepo; }
public ReleaseTextbookForQueryAppl(ITypeAdapter adapter, IStudentReleaseRecordRepository recordRepo, ITeachingTaskRepository taskRepo, IProfessionalClassRepository classRepo, IStudentRepository stuRepo, IBooksellerRepository booksellerRepo) { _adapter = adapter; _recordRepo = recordRepo; _taskRepo = taskRepo; _classRepo = classRepo; _stuRepo = stuRepo; _booksellerRepo = booksellerRepo; }
public TextbookFeeAppl(ITypeAdapter adapter, ISchoolRepository schoolRepo, IStudentRepository stuRepo, IStudentReleaseRecordRepository stuReleaseRepo, IProfessionalClassRepository proClassRepo, ITeachingTaskRepository taskRepo, IBooksellerRepository booksellerRepo) { _adapter = adapter; _schoolRepo = schoolRepo; _classRepo = proClassRepo; _stuRepo = stuRepo; _studentRecordRepo = stuReleaseRepo; _taskRepo = taskRepo; _booksellerRepo = booksellerRepo; }
public ReleaseStudentBookAppl(IStudentDeclarationRepository declarationRepository, ITypeAdapter adapter, IStudentReleaseRecordRepository studentReleaseRecordRepository, IStudentRepository studentRepository, ITeachingTaskRepository teachingTaskRepository, ITextbookRepository textbookRepository, IInventoryRepository inventoryRepository, IOutStockRecordRepository outStockRecordRepository, IBooksellerRepository booksellerRepository, IProfessionalClassRepository classRepository, IReleaseRecordRepository releaseRecordRepository, ITypeAdapter typeAdapter) { _declarationRepository = declarationRepository; _stuRepo = studentRepository; _teachingTaskRepository = teachingTaskRepository; _inventoryRepository = inventoryRepository; _outStockRecordRepository = outStockRecordRepository; _booksellerRepository = booksellerRepository; _classRepository = classRepository; _releaseRecordRepository = releaseRecordRepository; _adapter = typeAdapter; }