/// <summary> /// Initializes a new instance of the <see cref="PackageProfile"/> class. /// </summary> public PackageProfile() { assetFolders = new AssetFolderCollection(); InheritProfiles = new List <string>(); OutputGroupDirectories = new Dictionary <string, UDirectory>(); ProjectReferences = new List <ProjectReference>(); }
/// <summary> /// Clones this instance to the specified instance. /// </summary> /// <param name="foldersTo">The folders.</param> /// <exception cref="System.ArgumentNullException">folders</exception> public void CloneTo(AssetFolderCollection foldersTo) { if (foldersTo == null) { throw new ArgumentNullException("folders"); } foreach (var sourceFolder in this) { foldersTo.Add(sourceFolder.Clone()); } }