/// <summary> /// This is the default constructor. /// </summary> /// <param name="CacheStyle">The cache policy for the content object.</param> /// <param name="TimeOut">The time out in seconds.</param> public XimuraContentCachePolicyAttribute(ContentCacheOptions CacheStyle, int TimeOut) { mCacheStyle = CacheStyle; mTimeOut = TimeOut; }
/// <summary> /// This is the default constructor. /// </summary> /// <param name="CacheStyle">The cache policy for the content object.</param> public XimuraContentCachePolicyAttribute(ContentCacheOptions CacheStyle) : this(CacheStyle, -1) { }