Example #1
0
 /// <summary>
 /// Copy constructor
 /// </summary>
 /// <param name="Other">Filter to copy from</param>
 public FileFilter(FileFilter Other)
     : this(Other.DefaultNode.Type)
 {
     foreach (FileFilterNode OtherRule in Other.Rules)
     {
         AddRule(OtherRule.ToString(), OtherRule.Type);
     }
 }
Example #2
0
 /// <summary>
 /// Copy constructor
 /// </summary>
 /// <param name="Other">Filter to copy from</param>
 public FileFilter(FileFilter Other)
     : this()
 {
     foreach (FileFilterNode OtherRule in Other.Rules)
     {
         AddRule(OtherRule.ToString(), OtherRule.bInclude);
     }
 }