示例#1
0
 /// <summary>
 /// Makes sure all of the collections are non-Null (but may be empty).
 /// </summary>
 public void EnsureNotNull()
 {
     if (Registry == null)
     {
         Registry = new RegistryXml();
     }
     Registry.EnsureNotNull();
     if (Files == null)
     {
         Files = new FolderXml[] {}
     }
     ;
 }
示例#2
0
 public InstallationDataXml(FolderXml folderxml)
     : this(new RegistryXml(), folderxml)
 {
 }