/// <summary> /// Makes the data type property of type <see cref="DateTime"/> field appear in data url. /// </summary> public RouteDateSegmentAttribute(int order, DateSegmentFormat format = DateSegmentFormat.YearMonthDay) : base(order) { if (format == DateSegmentFormat.Undefined) { format = DateSegmentFormat.YearMonthDay; } _format = format; }
public DateUrlSegmentMapper(DateSegmentFormat format) { _format = format; }