public GraphQlExecutorFactory(IGraphQlServiceProviderFactory serviceProviderFactory, IAbstractSyntaxTreeGenerator astGenerator, IOptionsMonitor <GraphQlOptions> options, ILoggerFactory loggerFactory)
 {
     this.serviceProviderFactory = serviceProviderFactory;
     this.astGenerator           = astGenerator;
     this.options       = options;
     this.loggerFactory = loggerFactory;
 }
Beispiel #2
0
 public GraphQlExecutor(IGraphQlServiceProvider serviceProvider, IAbstractSyntaxTreeGenerator astGenerator, IGraphQlExecutionOptions options, ILoggerFactory loggerFactory)
 {
     this.ServiceProvider = serviceProvider;
     this.astGenerator    = astGenerator;
     this.options         = options;
     this.logger          = loggerFactory.CreateLogger <GraphLinqQL.Execution.GraphQlExecutor>();
 }
 public AssignmentGenerator(IRepository <PreAssignment, int> preAssignmentRepository, IAbstractSyntaxTreeGenerator abstractSyntaxTreeGenerator, IAbstractSyntaxTreeClassExtractor abstractSyntaxTreeClassExtractor, IAbstractSyntaxTreeMethodExtractor abstractSyntaxTreeMethodExtractor, IUnitTestGenerator unitTestGenerator)
 {
     PreAssignmentRepository           = preAssignmentRepository;
     AbstractSyntaxTreeGenerator       = abstractSyntaxTreeGenerator;
     AbstractSyntaxTreeClassExtractor  = abstractSyntaxTreeClassExtractor;
     AbstractSyntaxTreeMethodExtractor = abstractSyntaxTreeMethodExtractor;
     UnitTestGenerator = unitTestGenerator;
 }
 public SnapshotReportGenerator(IAbstractSyntaxTreeGenerator abstractSyntaxTreeGenerator, IAbstractSyntaxTreeClassExtractor classExtractor,
                                IRepository <SnapshotReport, int> snapshotReports, ISnapshotMethodGenerator methodGenerator, IUnitTestGenerator unitTestGenerator)
 {
     AbstractSyntaxTreeGenerator = abstractSyntaxTreeGenerator;
     ClassExtractor    = classExtractor;
     SnapshotReports   = snapshotReports;
     MethodGenerator   = methodGenerator;
     UnitTestGenerator = unitTestGenerator;
 }
 public SnapshotGenerator(ISnapshotDateConverter converter, IRepository <SnapshotSubmission, int> snapshotSubmissions, IRepository <Snapshot, int> snapshots, ISnapshotReportGenerator reportGenerator, IRepository <Student, string> students, IAbstractSyntaxTreeClassExtractor classExtractor, IAbstractSyntaxTreeGenerator abstractSyntaxTreeGenerator)
 {
     Converter                   = converter;
     SnapshotSubmissions         = snapshotSubmissions;
     Snapshots                   = snapshots;
     ReportGenerator             = reportGenerator;
     Students                    = students;
     ClassExtractor              = classExtractor;
     AbstractSyntaxTreeGenerator = abstractSyntaxTreeGenerator;
 }
Beispiel #6
0
 public MarkovModelGenerator(ILineFilter lineFilter, IAbstractSyntaxTreeGenerator abstractSyntaxTreeGenerator,
                             IAbstractSyntaxTreeClassExtractor abstractSyntaxTreeClassExtractor, IAbstractSyntaxTreeMetricCreator abstractSyntaxTreeMetricCreator,
                             IBagOfWordsMetricCreator bagOfWordsMetricCreator, IRepository <MarkovModel, int> markovModelRepository,
                             IAbstractSyntaxTreeMethodExtractor abstractSyntaxTreeMethodExtractor,
                             IMarkovModelCreator markovModelCreator)
 {
     LineFilter = lineFilter;
     AbstractSyntaxTreeGenerator       = abstractSyntaxTreeGenerator;
     AbstractSyntaxTreeClassExtractor  = abstractSyntaxTreeClassExtractor;
     AbstractSyntaxTreeMetricCreator   = abstractSyntaxTreeMetricCreator;
     AbstractSyntaxTreeMethodExtractor = abstractSyntaxTreeMethodExtractor;
     BagOfWordsMetricCreator           = bagOfWordsMetricCreator;
     MarkovModelCreator    = markovModelCreator;
     MarkovModelRepository = markovModelRepository;
 }