Exemplo n.º 1
0
 public T4TemplatePreprocessingManager(
     [NotNull] IT4TargetFileManager targetFileManager,
     [NotNull] ILogger logger,
     [NotNull] IT4BuildMessageConverter buildMessageConverter
     )
 {
     TargetFileManager     = targetFileManager;
     Logger                = logger;
     BuildMessageConverter = buildMessageConverter;
 }
Exemplo n.º 2
0
 public T4TemplateCompiler(
     [NotNull] IShellLocks locks,
     [NotNull] IT4TargetFileManager targetManager,
     [NotNull] IT4BuildMessageConverter converter,
     [NotNull] IT4ReferenceExtractionManager referenceExtractionManager,
     [NotNull] ILogger logger
     )
 {
     Locks         = locks;
     TargetManager = targetManager;
     Converter     = converter;
     ReferenceExtractionManager = referenceExtractionManager;
     Logger = logger;
 }
Exemplo n.º 3
0
        public T4ProtocolModelManager(
            [NotNull] ISolution solution,
            [NotNull] IT4TargetFileManager targetFileManager,
            [NotNull] IT4TemplateCompiler compiler,
            [NotNull] IT4BuildMessageConverter converter,
            [NotNull] IT4ModelInteractionHelper helper,
            [NotNull] IT4TemplateExecutionManager executionManager,
            [NotNull] ILogger logger,
            [NotNull] ProjectModelViewHost host,
            [NotNull] IT4ProjectReferenceResolver projectReferenceResolver
            )
        {
            Solution                 = solution;
            TargetFileManager        = targetFileManager;
            Compiler                 = compiler;
            Converter                = converter;
            ExecutionManager         = executionManager;
            Logger                   = logger;
            ProjectReferenceResolver = projectReferenceResolver;
            Host = host;
            var model = solution.GetProtocolSolution().GetT4ProtocolModel();

            RegisterCallbacks(model, helper);
        }