Example #1
0
 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));
 }
Example #2
0
 public ContentRootFolderCollection(ContentRootFolderCollection other)
     : base()
 {
     this.Clone(other);
 }