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