Jo Shields 3c1f479b9d Imported Upstream version 4.0.0~alpha1
Former-commit-id: 806294f5ded97629b74c85c09952f2a74fe182d9
2015-04-07 09:35:12 +01:00

40 lines
1.1 KiB
C#

using System;
using Microsoft.Build.Construction;
namespace Microsoft.Build.Execution
{
public class ProjectTaskOutputPropertyInstance : ProjectTaskInstanceChild
{
internal ProjectTaskOutputPropertyInstance (ProjectOutputElement xml)
{
condition = xml.Condition;
PropertyName = xml.PropertyName;
TaskParameter = xml.TaskParameter;
condition_location = xml.ConditionLocation;
location = xml.Location;
task_parameter_location = xml.TaskParameterLocation;
}
public string PropertyName { get; private set; }
public string TaskParameter { get; private set; }
readonly string condition;
public override string Condition {
get { return condition; }
}
readonly ElementLocation condition_location, location, task_parameter_location;
public ElementLocation PropertyNameLocation { get; private set; }
public override ElementLocation ConditionLocation {
get { return condition_location; }
}
public override ElementLocation Location {
get { return location; }
}
public override ElementLocation TaskParameterLocation {
get { return task_parameter_location; }
}
}
}