static void Main(string[] args) { AChild a1 = new AChild(); Console.WriteLine(a1.TextureImage.Path); BChild b = new BChild(); Console.WriteLine(b.TextureImage.Path); AChild a2 = new AChild(); Console.WriteLine(a2.TextureImage.Path); }
public void MPT_Redundancy_AddNewAggt() { var repo = RF.Concrete <ARepository>(); using (RF.TransactionScope(repo)) { var a = new A { Name = "A1" }; var ac = new AChild(); a.AChildList.Add(ac); Assert.AreEqual(ac.RD_AName, a.Name); Save(a); a = repo.GetById(a.Id); Assert.AreEqual(a.AChildList[0].RD_AName, a.Name); } }
public AClass(IAchild childByInterface, AChild childAutoInjected) { ChildByInterface = childByInterface; ChildAutoInjected = childAutoInjected; }
public int IndexOf(AChild entity) { return base.IndexOf(entity); }
public bool Contains(AChild entity) { return base.Contains(entity); }
public void Add(AChild entity) { base.Add(entity); }
public bool Remove(AChild entity) { return base.Remove(entity); }
public void Insert(int index, AChild entity) { base.Insert(index, entity); }