void SetDefaultPropertyValue(string newProjectPropertyName, string newSolutionPropertyName, string value)
        {
            SolutionTemplateVisibility visibility = GetSelectedTemplateVisibility();

            if (IsNewSolution || visibility != SolutionTemplateVisibility.NewProject)
            {
                PropertyService.Set(newSolutionPropertyName, value);
                PropertyService.Set(newProjectPropertyName, null);
            }
            else if (visibility == SolutionTemplateVisibility.NewProject)
            {
                PropertyService.Set(newProjectPropertyName, value);
            }
        }
Пример #2
0
 internal bool IsMatch(SolutionTemplateVisibility visibility)
 {
     return((Visibility == visibility) || (Visibility == SolutionTemplateVisibility.All));
 }
		internal bool IsMatch (SolutionTemplateVisibility visibility)
		{
			return (Visibility == visibility) || (Visibility == SolutionTemplateVisibility.All);
		}