propertyInfo = taskType.GetProperty (taskParameter);
if (propertyInfo == null)
throw new Exception ("Could not get property info.");
- if (propertyInfo.IsDefined (outputAttribute, false) == false)
+ if (!propertyInfo.IsDefined (outputAttribute, false))
throw new Exception ("This is not output property.");
o = propertyInfo.GetValue (task, null);
}
}
- private void InitializeParameter (PropertyInfo propertyInfo, object value)
+ void InitializeParameter (PropertyInfo propertyInfo, object value)
{
propertyInfo.SetValue (task, value, null);
}
- private void PublishItemGroup (PropertyInfo propertyInfo,
+ void PublishItemGroup (PropertyInfo propertyInfo,
object o,
string itemName)
{
parentProject.EvaluatedItems.AddItem (bi);
}
- private void PublishProperty (PropertyInfo propertyInfo,
+ void PublishProperty (PropertyInfo propertyInfo,
object o,
string propertyName)
{
parentProject.EvaluatedProperties.AddProperty (bp);
}
- private BuildProperty CollectProperty (PropertyInfo propertyInfo, object o, string name)
+ BuildProperty CollectProperty (PropertyInfo propertyInfo, object o, string name)
{
string output = null;
BuildProperty bp;
return bp;
}
- private BuildItemGroup CollectItemGroup (PropertyInfo propertyInfo, object o, string name)
+ BuildItemGroup CollectItemGroup (PropertyInfo propertyInfo, object o, string name)
{
BuildItemGroup big;
string temp;
return big;
}
- private object GetObjectFromString (string raw, Type type)
+ object GetObjectFromString (string raw, Type type)
{
Expression e;
object result;
e = new Expression ();
- e.Parse (raw);
+ e.Parse (raw, true);
if ((string) e.ConvertTo (parentProject, typeof (string)) == String.Empty)
return null;