Exemplo n.º 1
0
 private static SingleEntry CreateSingleEntry(XmlNode configuration)
 {
     var singleEntry = new SingleEntry();
     if (configuration.Attributes != null)
     {
         singleEntry.Database = configuration.Attributes["database"].Value;
         singleEntry.Path = configuration.Attributes["path"].Value;
     }
     return singleEntry;
 }
Exemplo n.º 2
0
        private static SingleEntry CreateSingleEntry(XmlNode configuration)
        {
            var singleEntry = new SingleEntry();

            if (configuration.Attributes != null)
            {
                singleEntry.Database = configuration.Attributes["database"].Value;
                singleEntry.Path     = configuration.Attributes["path"].Value;
            }
            return(singleEntry);
        }