/// <param name="msbuild">Instance of MSBuild core</param> public Component(IMSBuild msbuild) : this() { env = msbuild.Env; uvariable = msbuild.UVariable; this.msbuild = msbuild; }
/// <param name="script">Instance of SBE-Scripts core</param> /// <param name="msbuild">Instance of MSBuild core</param> public Component(ISBEScript script, IMSBuild msbuild) : this() { env = script.Bootloader.Env; uvariable = script.Bootloader.UVariable; this.script = script; this.msbuild = msbuild; }
/// <summary> /// Constructs the builder /// </summary> /// <param name="slnBuilder">Sub task building the solution file, used as a dependency</param> /// <param name="slnPath">Path of the generated solution file</param> /// <param name="targetRoot">Target directory</param> /// <param name="msbuild">The MSBuild implementation to use</param> public MSBuildRunner(SlnBuilder slnBuilder, TargetRelativePath slnPath, [TargetRoot] IFileSystemDirectory targetRoot, IMSBuild msbuild) { this.slnBuilder = slnBuilder; this.slnPath = slnPath; this.targetRoot = targetRoot; this.msbuild = msbuild; }
/// <param name="msbuild">To evaluate data with MSBuild engine where it's allowed.</param> /// <param name="type">Allowed types of evaluation with MSBuild.</param> public PM(IMSBuild msbuild = null, EvalType type = EvalType.ArgStringD) { //if(msbuild == null) { // throw new InvalidArgumentException("PM: The `msbuild` argument cannot be null"); //} this.msbuild = msbuild; teval = type; }
/// <param name="msbuild">To evaluate data with MSBuild engine where it's allowed.</param> /// <param name="type">Allowed types of evaluation with MSBuild.</param> public PM(IMSBuild msbuild = null, EvalType type = EvalType.ArgStringD) { //if(msbuild == null) { // throw new InvalidArgumentException("PM: The `msbuild` argument cannot be null"); //} this.msbuild = msbuild; teval = type; }
/// <summary> /// Constructs the builder /// </summary> /// <param name="slnBuilder">Sub task building the solution file, used as a dependency</param> /// <param name="slnPath">Path of the generated solution file</param> /// <param name="version">MSBuild version to use</param> /// <param name="targetRoot">Target directory</param> /// <param name="msbuildFactory">Factory to get the MSBuild implementation to use</param> public MSBuildRunner(SlnBuilder slnBuilder, TargetRelativePath slnPath, MSBuildVersion version, [TargetRoot] IFileSystemDirectory targetRoot, IMSBuildFactory msbuildFactory) { this.slnBuilder = slnBuilder; this.slnPath = slnPath; this.targetRoot = targetRoot; msbuild = msbuildFactory.CreateMSBuild(version); }
public SolutionRunner(ICmdLine cmdLine, IHelpDisplay helpDisplay, IFileSystem fileSystem, IMSBuild msBuild, ILogger logger, IProcessRunner processRunner, INuGet nuGet) { _cmdLine = cmdLine; _helpDisplay = helpDisplay; _fileSystem = fileSystem; _msBuild = msBuild; _logger = logger; _processRunner = processRunner; _nuGet = nuGet; }
public ToolContext(IEnvironment env) { Log.Trace("Initialization of the clean context for testing."); bootloader = new Bootloader(env, uvariable); bootloader.register(); inspector = new Inspector(bootloader); script = new Script(bootloader); msbuild = new MSBuild.Parser(env, uvariable); }
/// <param name="env">Used environment</param> /// <param name="script">Used SBE-Scripts</param> /// <param name="msbuild">Used MSBuild</param> public Command(IEnvironment env, ISBEScript script, IMSBuild msbuild) { Env = env; SBEScript = script; MSBuild = msbuild; actions[ModeType.Operation] = new ActionOperation(this); actions[ModeType.Interpreter] = new ActionInterpreter(this); actions[ModeType.Script] = new ActionScript(this); actions[ModeType.File] = new ActionFile(this); actions[ModeType.Targets] = new ActionTargets(this); actions[ModeType.CSharp] = new ActionCSharp(this); }
/// <param name="env">Used environment</param> /// <param name="script">Used SBE-Scripts</param> /// <param name="msbuild">Used MSBuild</param> public Command(IEnvironment env, ISBEScript script, IMSBuild msbuild) { Env = env; SBEScript = script; MSBuild = msbuild; actions[ModeType.Operation] = new ActionOperation(this); actions[ModeType.Interpreter] = new ActionInterpreter(this); actions[ModeType.Script] = new ActionScript(this); actions[ModeType.File] = new ActionFile(this); actions[ModeType.Targets] = new ActionTargets(this); actions[ModeType.CSharp] = new ActionCSharp(this); }
public Expression(ISBEScript script, IMSBuild msbuild) { this.script = script; this.msbuild = msbuild; }
public Expression(ISBEScript script, IMSBuild msbuild) { this.script = script; this.msbuild = msbuild; }
public DomParser(IInspector inspector, IMSBuild msbuild = null) { Inspector = inspector; MSBuild = msbuild; }
public ToolContext(IEnvironment env) { Log.Trace("Initialization of the clean context for testing."); bootloader = new Bootloader(env, uvariable); bootloader.register(); inspector = new Inspector(bootloader); script = new Script(bootloader); msbuild = new MSBuild.Parser(env, uvariable); }
public ConditionalExpression(ConditionComponent cond, ISBEScript script, IMSBuild msbuild) : base(script, msbuild) { this.cond = cond; }
/// <param name="raw">Initial raw data.</param> /// <param name="msbuild">To evaluate data with MSBuild engine where it's allowed.</param> /// <param name="type">Allowed types of evaluation with MSBuild.</param> public PM(string raw, IMSBuild msbuild = null, EvalType type = EvalType.ArgStringD /*| EvalType.RightOperandStd*/) : this(msbuild, type) { detect(raw); }
public DomParser(IInspector inspector, IMSBuild msbuild = null) { Inspector = inspector; MSBuild = msbuild; }
public ConditionalExpression(ConditionComponent cond, ISBEScript script, IMSBuild msbuild) : base(script, msbuild) { this.cond = cond; }
protected void init(IEnvironment env, IUserVariable uvariable) { this.env = env; this.uvariable = uvariable; msbuild = new MSBuild.Parser(env, uvariable); }
/// <summary> /// Updating model of the data for code completion /// </summary> /// <param name="inspector"></param> /// <param name="msbuild"></param> public void codeCompletionInit(IInspector inspector, IMSBuild msbuild = null) { dom = new DomParser(inspector, msbuild); Log.Trace("Code completion has been initialized for '{0}'", Name); }
protected void init(IEnvironment env, IUserVariable uvariable) { this.env = env; this.uvariable = uvariable; msbuild = new MSBuild.Parser(env, uvariable); }
/// <param name="raw">Initial raw data.</param> /// <param name="msbuild">To evaluate data with MSBuild engine where it's allowed.</param> /// <param name="type">Allowed types of evaluation with MSBuild.</param> public PM(string raw, IMSBuild msbuild = null, EvalType type = EvalType.ArgStringD /*| EvalType.RightOperandStd*/) : this(msbuild, type) { detect(raw); }
/// <summary> /// Updating model of the data for code completion /// </summary> /// <param name="inspector"></param> /// <param name="msbuild"></param> public void codeCompletionInit(IInspector inspector, IMSBuild msbuild = null) { dom = new DomParser(inspector, msbuild); Log.Trace("Code completion has been initialized for '{0}'", Name); }
/// <param name="script">Instance of SBE-Scripts core</param> /// <param name="msbuild">Instance of MSBuild core</param> public Component(ISBEScript script, IMSBuild msbuild) : this(msbuild) { this.script = script; }