/// <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[] {} } ; }
public InstallationDataXml(FolderXml folderxml) : this(new RegistryXml(), folderxml) { }