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

IsName() public méthode

This is used to determine the name of the node specified. The name of the node is determined to be the name of the element if that element is converts to a valid StAX start element.
public IsName ( EventNode node, String name ) : bool
node EventNode /// This is the StAX node to acquire the name from. ///
name String /// This is the name of the node to check against. ///
Résultat bool
      public bool IsName(EventNode node, String name) {
         String local = node.Name;

         if(local == null) {
            return false;
         }
         return local.Equals(name);
      }