public void Clone(ContentRootFolderCollection other) { this.ContentType = other.ContentType; this.Clear(); foreach (ContentRootFolder folder in other) this.Add(new ContentRootFolder(folder)); this.Criteria = other.criteria; this.GenreMatchMiss = other.GenreMatchMiss; this.MatchRules.Clear(); foreach (ContentRootFolderMatchRule rule in other.MatchRules) this.MatchRules.Add(new ContentRootFolderMatchRule(rule)); }
public ContentRootFolderCollection(ContentRootFolderCollection other) : base() { this.Clone(other); }