public TestPageDecoration MakeChild(string theSetUp, string theTearDown) { var child = new TestPageDecoration(theSetUp, theTearDown); child.mySetUpHead = mySetUpHead + child.mySetUpHead; child.mySetUp = mySetUp + child.mySetUp; child.myTearDownHead += myTearDownHead; child.myTearDown += myTearDown; return child; }
public TestPageDecoration MakeChild(string theSetUp, string theTearDown) { var child = new TestPageDecoration(theSetUp, theTearDown); child.mySetUpHead = mySetUpHead + child.mySetUpHead; child.mySetUp = mySetUp + child.mySetUp; child.myTearDownHead += myTearDownHead; child.myTearDown += myTearDown; return(child); }