Apachai.PictureContentModule.PictureContentModule C# (CSharp) Method

PictureContentModule() public method

public PictureContentModule ( System.TimeSpan expireTime ) : System
expireTime System.TimeSpan
return System
        public PictureContentModule(TimeSpan expireTime)
        {
            this.expires = (DateTime.Now + expireTime).ToString ("R");
            this.cacheControl = "max-age=" + ((int)expireTime.TotalSeconds).ToString ();
            this.etagCache = new ConcurrentDictionary<string, string> ();

            Get (".*", MatchType.Regex, Content);
        }

Same methods

PictureContentModule::PictureContentModule ( ) : System