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