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