Beispiel #1
0
		internal static void ForceRender(Cookie c)
		{
			c.Render();
		}
Beispiel #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;
		}
Beispiel #3
0
		/// <summary>
		/// Constructor
		/// </summary>
		/// <param name="cookie">Cookie object to set rendering options for</param>
		public Rendering(Cookie cookie)
		 : base()
		{
			this.Cookie = cookie;
		}
Beispiel #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;
		}
Beispiel #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();
		}