Beispiel #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);
Beispiel #2
0
 public static int ReadPropertyInt(this MSB.Execution.ProjectInstance executedProject, string propertyName)
 => Conversions.ToInt(executedProject.ReadPropertyString(propertyName));
Beispiel #3
0
 public static ulong ReadPropertyULong(this MSB.Execution.ProjectInstance executedProject, string propertyName)
 => Conversions.ToULong(executedProject.ReadPropertyString(propertyName));
Beispiel #4
0
 public static bool ReadPropertyBool(this MSB.Execution.ProjectInstance executedProject, string propertyName)
 => Conversions.ToBool(executedProject.ReadPropertyString(propertyName));