示例#1
0
 /// <summary>
 /// Creates a new extractor instance for one compilation unit.
 /// </summary>
 /// <param name="standalone">If the extraction is standalone.</param>
 /// <param name="outputPath">The name of the output DLL/EXE, or null if not specified (standalone extraction).</param>
 /// <param name="logger">The object used for logging.</param>
 /// <param name="pathTransformer">The object used for path transformations.</param>
 public Extractor(bool standalone, string outputPath, ILogger logger, PathTransformer pathTransformer)
 {
     Standalone      = standalone;
     OutputPath      = outputPath;
     Logger          = logger;
     PathTransformer = pathTransformer;
 }
示例#2
0
 /// <summary>
 /// Creates a new extractor instance for one compilation unit.
 /// </summary>
 /// <param name="logger">The object used for logging.</param>
 /// <param name="pathTransformer">The object used for path transformations.</param>
 public StandaloneExtractor(ILogger logger, PathTransformer pathTransformer, CommonOptions options) : base(logger, pathTransformer)
 {
     Mode = ExtractorMode.Standalone;
     if (options.QlTest)
     {
         Mode |= ExtractorMode.QlTest;
     }
 }
示例#3
0
 /// <summary>
 /// Creates a new extractor instance for one compilation unit.
 /// </summary>
 /// <param name="outputPath">The name of the output DLL/EXE, or null if not specified (standalone extraction).</param>
 /// <param name="logger">The object used for logging.</param>
 /// <param name="pathTransformer">The object used for path transformations.</param>
 public TracingExtractor(string outputPath, ILogger logger, PathTransformer pathTransformer, CommonOptions options) : base(logger, pathTransformer)
 {
     OutputPath = outputPath;
     Mode       = ExtractorMode.None;
     if (options.QlTest)
     {
         Mode |= ExtractorMode.QlTest;
     }
 }
示例#4
0
 /// <summary>
 /// Creates a new extractor instance for one compilation unit.
 /// </summary>
 /// <param name="logger">The object used for logging.</param>
 /// <param name="pathTransformer">The object used for path transformations.</param>
 protected Extractor(ILogger logger, PathTransformer pathTransformer)
 {
     Logger          = logger;
     PathTransformer = pathTransformer;
 }
 /// <summary>
 /// Creates a new extractor instance for one compilation unit.
 /// </summary>
 /// <param name="outputPath">The name of the output DLL/EXE, or null if not specified (standalone extraction).</param>
 /// <param name="logger">The object used for logging.</param>
 /// <param name="pathTransformer">The object used for path transformations.</param>
 public TracingExtractor(string outputPath, ILogger logger, PathTransformer pathTransformer) : base(logger, pathTransformer)
 {
     OutputPath = outputPath;
 }
 /// <summary>
 /// Creates a new extractor instance for one compilation unit.
 /// </summary>
 /// <param name="logger">The object used for logging.</param>
 /// <param name="pathTransformer">The object used for path transformations.</param>
 public StandaloneExtractor(ILogger logger, PathTransformer pathTransformer) : base(logger, pathTransformer)
 {
 }