Esempio n. 1
0
		internal static void ForceRender(Cookie c)
		{
			c.Render();
		}
Esempio n. 2
0
		internal static Cookie SetupSimpleCookieObject(TextWriter writer) 
		{
			// nothing special, just create a simple dummy tab helper as a starting point 
			// (saves having the same code everywhere!)
			Cookie c = new Cookie(writer, "");

			return c;
		}
Esempio n. 3
0
		/// <summary>
		/// Constructor
		/// </summary>
		/// <param name="cookie">Cookie object to set rendering options for</param>
		public Rendering(Cookie cookie)
		 : base()
		{
			this.Cookie = cookie;
		}
Esempio n. 4
0
		/// <summary>
		/// Constructor
		/// </summary>
		/// <param name="cookie">Cookie object the options are being defined for</param>
		public CookieOptions(Cookie cookie)
		 : base()
		{
			this.Cookie = cookie;
		}
Esempio n. 5
0
		/// <summary>
		/// Constructor
		/// </summary>
		/// <param name="cookie">Cookie object to define options for</param>
		public Options(Cookie cookie)
		 : base()
		{
			this.Cookie = cookie;
			this.Reset();
		}