protected override MessageBubbleContent Validate(string name)
        {
            string str = ProjectItemNameValidator.ValidateWithErrorString(this.project, name);

            if (string.IsNullOrEmpty(str))
            {
                return(null);
            }
            return(new MessageBubbleContent(str, MessageBubbleType.Error));
        }
 public static bool ValidateName(IProject project, string name)
 {
     return(ProjectItemNameValidator.ValidateWithErrorString(project, name) == null);
 }