Orchard/src/Orchard.Web/Modules/Orchard.OutputCache/ViewModels/IndexViewModel.cs
Sebastien Ros 0d437b8060 Importing the Contrib.Cache module
--HG--
branch : 1.x
2013-05-24 17:16:57 -07:00

16 lines
644 B
C#

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; }
}
}