Caucho.ResinConf.getRootDirectory C# (CSharp) Method

getRootDirectory() public method

public getRootDirectory ( ) : String
return String
        public String getRootDirectory()
        {
            String rootDirectory = null;

              XPathNavigator nav = _docNavigator.SelectSingleNode("caucho:resin/@root-directory", _xmlnsMgr);
              if (nav != null)
            rootDirectory = nav.Value;

              if (null == rootDirectory || "".Equals(rootDirectory)) {
            nav = _docNavigator.SelectSingleNode("caucho:resin/caucho:root-directory/text()", _xmlnsMgr);
            if (nav != null)
              rootDirectory = nav.Value;
              }

              return rootDirectory;
        }