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