/// <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; }
/// <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; } }
/// <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; } }
/// <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) { }