public void Name_ProjectItemNameIsTest_ReturnsTest() { CreateProjectItemProperties(); var property = new ProjectItemProperty(projectItem, "Test"); string name = property.Name; Assert.AreEqual("Test", name); }
public static Property FindProperty(this ProjectItem projectItem,ProjectItemProperty projectItemProperty) { return projectItem.Properties.Cast<Property>().Where(property => property.Name == projectItemProperty.ToString()).FirstOrDefault(); }
public static Property FindProperty(this ProjectItem projectItem, ProjectItemProperty projectItemProperty) { return(projectItem.Properties.Cast <Property>().Where(property => property.Name == projectItemProperty.ToString()).FirstOrDefault()); }
public static Property FindProperty(this ProjectItem projectItem, ProjectItemProperty projectItemProperty) { string projectItemPropertyStr = projectItemProperty.ToString(); return projectItem.Properties.Cast<Property>().FirstOrDefault(property => property.Name == projectItemPropertyStr); }
set => SetValue(ProjectItemProperty, value);