public DateRule(DirPathRule dirPathRule) : base(dirPathRule.GetPath()) { }
public DateRule(DirPathRule dirPathRule, string date) : base(dirPathRule.GetPath()) { this.date = date; }
/// <summary> /// 类型文件夹规则 /// </summary> /// <param name="dirPathRule">观察者模式的对象</param> /// <param name="category">类型</param> public CategoryRule(DirPathRule dirPathRule, string category) : base(dirPathRule.GetPath()) { this.category = category; }