예제 #1
0
 /// <summary>
 /// 构造函数
 /// </summary>
 public UserAnswerAppService(IRepository <UserAnswer, Guid> useranswerRepository
                             , IUserAnswerManager useranswerManager
                             )
 {
     _useranswerRepository = useranswerRepository;
     _useranswerManager    = useranswerManager;
 }
예제 #2
0
 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;
 }