Hishop.Components.Validation/Validators/DateTimeRangeValidator.cs

(完整代码) 1KB

namespace Hishop.Components.Validation.Validators
{
    using System;

    public class DateTimeRangeValidator : RangeValidator<DateTime>
    {
        public DateTimeRangeValidator(DateTime upperBound) : base(upperBound)
        {
        }

        public DateTimeRangeValidator(DateTime upperBound, bool negated) : base(upperBound, negated)
        {
        }

        public DateTimeRangeValidator(DateTime lowerBound, DateTime upperBound) : base(lowerBound, upperBound)
        {
        }

        public DateTimeRangeValidator(DateTime lowerBound, DateTime upperBound, bool negated) : base(lowerBound, upperBound, negated)
        {
        }

        public DateTimeRangeValidator(DateTime lowerBound, RangeBoundaryType lowerBoundType, DateTime upperBound, RangeBoundaryType upperBoundType) : base(lowerBound, lowerBoundType, upperBound, upperBoundType)
        {
        }

        public DateTimeRangeValidator(DateTime lowerBound, RangeBoundaryType lowerBoundType, DateTime upperBound, RangeBoundaryType upperBoundType, bool negated) : base(lowerBound, lowerBoundType, upperBound, upperBoundType, negated)
        {
        }

        public DateTimeRangeValidator(DateTime lowerBound, RangeBoundaryType lowerBoundType, DateTime upperBound, RangeBoundaryType upperBoundType, string messageTemplate) : base(lowerBound, lowerBoundType, upperBound, upperBoundType, messageTemplate)
        {
        }

        public DateTimeRangeValidator(DateTime lowerBound, RangeBoundaryType lowerBoundType, DateTime upperBound, RangeBoundaryType upperBoundType, string messageTemplate, bool negated) : base(lowerBound, lowerBoundType, upperBound, upperBoundType, messageTemplate, negated)
        {
        }
    }
}

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。