public ScriptingOptions(ScriptingMode mode, DirectoryInfo targetDirectory) { _targetDirectory = targetDirectory; _mode = mode; }