/// <summary> /// 构造函数 /// </summary> public UserAnswerAppService(IRepository <UserAnswer, Guid> useranswerRepository , IUserAnswerManager useranswerManager ) { _useranswerRepository = useranswerRepository; _useranswerManager = useranswerManager; }
public TestMe(ITestManager testManager, ITestQuestionManager testQuestionManager, ITestAnswerManager testAnswerManager, ITestResultManager testResultManager, IRandomStringGenerator randomStringGenerator, IAnswerImageManager answerImageManager, ITestReportManager testReportManager, ITestMarkManager testMarkManager, IUserAnswerManager userAnswerManager) { TestManager = testManager; TestQuestionManager = testQuestionManager; TestAnswerManager = testAnswerManager; TestResultManager = testResultManager; RandomStringGenerator = randomStringGenerator; AnswerImageManager = answerImageManager; TestReportManager = testReportManager; TestMarkManager = testMarkManager; UserAnswerManager = userAnswerManager; }