Ejemplo n.º 1
0
        internal void InitializeHostObjectSupportForNewSwitches(
            ITaskHost hostObject,
            ref string param
            )
        {
            var compilerOptionsHostObject = hostObject as ICompilerOptionsHostObject;

            if (compilerOptionsHostObject != null)
            {
                var commandLineBuilder = new CommandLineBuilderExtension();
                AddResponseFileCommandsForSwitchesSinceInitialReleaseThatAreNeededByTheHost(
                    commandLineBuilder
                    );
                param = "CompilerOptions";
                CheckHostObjectSupport(
                    param,
                    compilerOptionsHostObject.SetCompilerOptions(commandLineBuilder.ToString())
                    );
            }
        }
Ejemplo n.º 2
0
        internal void InitializeHostObjectSupportForNewSwitches(ITaskHost hostObject, ref string param)
        {
            var compilerOptionsHostObject = hostObject as ICompilerOptionsHostObject;

            if (compilerOptionsHostObject != null)
            {
                var commandLineBuilder = new CommandLineBuilderExtension();
                AddResponseFileCommandsForSwitchesSinceInitialReleaseThatAreNeededByTheHost(commandLineBuilder);
                param = "CompilerOptions";
                CheckHostObjectSupport(param, compilerOptionsHostObject.SetCompilerOptions(commandLineBuilder.ToString()));
            }
        }
Ejemplo n.º 3
0
 protected override string GenerateCommandLineCommands()
 {
     CommandLineBuilderExtension commandLineBuilder = new CommandLineBuilderExtension();
     AddCommandLineCommands(commandLineBuilder);
     return commandLineBuilder.ToString();
 }
Ejemplo n.º 4
0
 protected override string GenerateResponseFileCommands()
 {
     var commandLineBuilder = new CommandLineBuilderExtension();
     AddResponseFileCommands(commandLineBuilder);
     return commandLineBuilder.ToString();
 }