NAnt.MSBuild.MSBuildProject.LoadGuid C# (CSharp) 메소드

LoadGuid() 개인적인 정적인 메소드

private static LoadGuid ( XmlElement e, XmlNamespaceManager nm ) : string
e System.Xml.XmlElement
nm System.Xml.XmlNamespaceManager
리턴 string
        private static string LoadGuid(XmlElement e, XmlNamespaceManager nm)
        {
            XmlNode node = e.SelectSingleNode("//x:ProjectGuid", nm);
            if (node == null) return "";
            return node.InnerText;
        }

Same methods

MSBuildProject::LoadGuid ( XmlDocument doc ) : string
MSBuildProject::LoadGuid ( XmlElement e ) : string

Usage Example

예제 #1
0
 public string LoadGuid(XmlElement xmlDefinition)
 {
     return(MSBuildProject.LoadGuid(xmlDefinition));
 }