public void SetProperty(InpcSuperInnrClass c) { this.Str1 = "sdfjkh"; this.Str2 = "sdkafkl"; c.Str1 = "sdjkafh"; c.Str2 = "sdjkafh"; }
public void TwoLevelDependsOn_ViaProperty_PartlySideObjectChange() { TestHelpers.DoInpcTest <InpcWithManualDependencies>( c => { c.InnerObject2 = new InpcInnrClass(); var a = c.ConcatFromSuperInnerObjectViaProperty; var superInnerObject = new InpcSuperInnrClass(); c.InnerObject2.SuperInnrObject = superInnerObject; superInnerObject.Str1 = "sadf"; superInnerObject.Str2 = "sag"; }, 4, "ConcatFromSuperInnerObjectViaProperty"); }
public void TwoLevelDependsOn_ViaProperty_SideObjectChange() { TestHelpers.DoInpcTest<InpcWithManualDependencies>( c => { var innerObject = new InpcInnrClass(); c.InnerObject2 = innerObject; var superInnerObject = new InpcSuperInnrClass(); innerObject.SuperInnrObject = superInnerObject; superInnerObject.Str1 = "sadf"; superInnerObject.Str2 = "sag"; }, 4, "ConcatFromSuperInnerObjectViaProperty"); }