Inheritance: ProjectItems
 public FileProjectItemMock(ProjectItemsMock parent, string file)
 {
     this.Parent     = parent;
     this.Name       = file;
     this.properties = new PropertiesMock(this);
     this.properties.RegisterKnownProperty(Constants.ItemTypePropertyKey);
 }
Example #2
0
 public ProjectMock(string projectFile)
     : base(projectFile, (uint)VSConstants.VSITEMID.Root)
 {
     ((Project)this).Name = Path.GetFileName(projectFile);
     this.Properties      = new PropertiesMock(this);
     ProjectItemsMock     = new ProjectItemsMock(this);
 }
 public FileProjectItemMock(ProjectItemsMock parent, string file)
 {
     this.Parent = parent;
     this.Name = file;
     this.properties = new PropertiesMock(this);
     this.properties.RegisterKnownProperty(Constants.ItemTypePropertyKey);
 }