Exemple #1
0
        public ProjectOutputElement AddOutputItem(string taskParameter, string itemType, string condition)
        {
            var output = new ProjectOutputElement(taskParameter, itemType, null, RootElement);

            if (condition != null)
            {
                output.Condition = condition;
            }
            AppendChild(output);
            return(output);
        }
Exemple #2
0
        public ProjectOutputElement AddOutputProperty(string taskParameter, string propertyName,
                                                      string condition)
        {
            var output = new ProjectOutputElement(taskParameter, null, propertyName, RootElement);

            if (condition != null)
            {
                output.Condition = condition;
            }
            AppendChild(output);
            return(output);
        }