public ProjectItemWithBuildActionFake(string basePath, string relativePath, string initialBuildActionValue) : base(basePath, relativePath) { ItemTypePropertyFake itemTypeProperty = new ItemTypePropertyFake(); ((Property)itemTypeProperty).Value = initialBuildActionValue; BuildActionPropertyFake buildActionProperty = new BuildActionPropertyFake(itemTypeProperty); Fake_PropertiesCollection.Fake_PropertiesDictionary.Add("ItemType", itemTypeProperty); Fake_PropertiesCollection.Fake_PropertiesDictionary.Add("BuildAction", buildActionProperty); }
private ItemTypePropertyFake m_itemTypeProperty; // This is the backing property public BuildActionPropertyFake(ItemTypePropertyFake itemTypeProperty) { m_itemTypeProperty = itemTypeProperty; }