Exemple #1
0
        public static PropertyGroupXElement AsPropertyGroup(this XElement xElement, ProjectXElement projectElement)
        {
            var propertyGroup = xElement.AsPropertyGroup();

            propertyGroup.ProjectElement = projectElement;

            return(propertyGroup);
        }
Exemple #2
0
        public static ProjectXElement AsProject(this XElement xElement)
        {
            var project = new ProjectXElement(xElement);

            return(project);
        }
Exemple #3
0
        public static ProjectFileModel FromProjectElement(ProjectXElement projectElement)
        {
            var projectFile = new ProjectFileModel(projectElement);

            return(projectFile);
        }
Exemple #4
0
        public static PackageReferenceItemGroupXElement AsPackageReferenceItemGroup(this XElement xElement, ProjectXElement projectElement)
        {
            var packageReferenceItemGroup = xElement.AsPackageReferenceItemGroup();

            packageReferenceItemGroup.ProjectElement = projectElement;

            return(packageReferenceItemGroup);
        }
Exemple #5
0
 public ProjectFileModel(ProjectXElement projectElement)
 {
     this.ProjectElement = projectElement;
 }