/// <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); } }
/// <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); } }