Esempio n. 1
0
 public static TEnum?ReadPropertyEnum <TEnum>(this MSB.Execution.ProjectInstance executedProject, string propertyName, bool ignoreCase)
     where TEnum : struct
 => Conversions.ToEnum <TEnum>(executedProject.ReadPropertyString(propertyName), ignoreCase);
Esempio n. 2
0
 public static int ReadPropertyInt(this MSB.Execution.ProjectInstance executedProject, string propertyName)
 => Conversions.ToInt(executedProject.ReadPropertyString(propertyName));
Esempio n. 3
0
 public static ulong ReadPropertyULong(this MSB.Execution.ProjectInstance executedProject, string propertyName)
 => Conversions.ToULong(executedProject.ReadPropertyString(propertyName));
Esempio n. 4
0
 public static bool ReadPropertyBool(this MSB.Execution.ProjectInstance executedProject, string propertyName)
 => Conversions.ToBool(executedProject.ReadPropertyString(propertyName));