public void AddParameter(string name, string val) { MSBuildTaskParameter parameter = this.CreateParameter(); parameter.Name = name; parameter.Value = val; this.AppendParameter(parameter); }
public void AppendParameter(MSBuildTaskParameter attribute) { // insert on this level this.parameters.Add(attribute); // insert on underlaying level XmlAttribute tn = attribute.UnderlyingObject; uo.SetAttributeNode(tn); }
public MSBuildTaskParameter CreateParameter() { MSBuildTaskParameter res = new MSBuildTaskParameter(this); return(res); }