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);
        }
예제 #2
0
        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);
        }