protected virtual bool ProcessItemElements(DummyElement <T> obj, bool[] flagArray) { if (!flagArray[0] && ElementName == property) { obj.Property = GetValue <T>(ReadElementString); flagArray[0] = true; return(true); } return(false); }
protected override bool ProcessItemElements(DummyElement <DummyElementRoot> obj, bool[] flagArray) { if (!flagArray[0] && ElementName == property) { obj.Property = ReadElement <DummyElementRoot>(1, (s, f) => false, ProcessDummyRootElements, ValidateDummyRoot);; flagArray[0] = true; return(true); } return(false); }