Esempio n. 1
0
 public static Property GetProperty(this Solution solution, SolutionProperty solutionProperty)
 {
     return solution.Properties.Cast<Property>().Where(property => property.Name == solutionProperty.ToString()).Single();
 }
Esempio n. 2
0
 public static Property GetProperty(this Solution solution, SolutionProperty solutionProperty)
 {
     return(solution.Properties.Cast <Property>().Single(property => property.Name == solutionProperty.ToString()));
 }