Beispiel #1
0
 public T4PsiFileSelector(
     [NotNull] T4OutsideSolutionSourceFileManager outsideSolutionManager,
     [NotNull] ILogger logger,
     [NotNull] ISolution solution
     )
 {
     OutsideSolutionManager = outsideSolutionManager;
     Logger   = logger;
     Solution = solution;
 }
Beispiel #2
0
 public T4PathWithMacros(
     [CanBeNull] string rawPath,
     [NotNull] IPsiSourceFile file,
     [CanBeNull] IProjectFile projectFile,
     [CanBeNull] ISolution solution = null
     )
 {
     RawPath                = rawPath ?? "";
     SourceFile             = file;
     ProjectFile            = projectFile;
     Solution               = solution ?? SourceFile.GetSolution();
     Resolver               = Solution.GetComponent <IT4MacroResolver>();
     Environment            = Solution.GetComponent <IT4Environment>();
     OutsideSolutionManager = Solution.GetComponent <T4OutsideSolutionSourceFileManager>();
 }