2013-05-25 08:16:57 +08:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
|
|
|
|
|
namespace Orchard.OutputCache.ViewModels {
|
|
|
|
|
public class IndexViewModel {
|
|
|
|
|
public List<RouteConfiguration> RouteConfigurations { get; set; }
|
|
|
|
|
[Range(0, int.MaxValue), Required]
|
|
|
|
|
public int DefaultCacheDuration { get; set; }
|
|
|
|
|
[Range(0, int.MaxValue), Required]
|
|
|
|
|
public int DefaultMaxAge { get; set; }
|
|
|
|
|
public string IgnoredUrls { get; set; }
|
|
|
|
|
public bool ApplyCulture { get; set; }
|
|
|
|
|
public bool DebugMode { get; set; }
|
|
|
|
|
public string VaryQueryStringParameters { get; set; }
|
2013-08-24 03:49:58 +08:00
|
|
|
|
public string VaryRequestHeaders { get; set; }
|
2013-05-25 08:16:57 +08:00
|
|
|
|
}
|
|
|
|
|
}
|