SimpleFramework.Xml.Stream.NodeReader.ReadStart C# (CSharp) Méthode

ReadStart() public méthode

This is used to convert the start element to an input node. This will push the created input node on to the stack. The input node created contains a reference to this reader. so that it can be used to read child elements and values.
public ReadStart ( InputNode from, EventNode node ) : InputNode
from InputNode /// This is the parent element for the start event. ///
node EventNode
Résultat InputNode
      public InputNode ReadStart(InputNode from, EventNode node) {
         InputElement input = new InputElement(from, this, node);

         if(node.IsStart()) {
            return stack.Push(input);
         }
         return input;
      }