using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace Orchard.OutputCache.ViewModels { public class IndexViewModel { public List 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; } public string VaryRequestHeaders { get; set; } public bool IgnoreNoCache { get; set; } public bool CacheAuthenticatedRequests { get; set; } } }