internal static void ForceRender(Cookie c) { c.Render(); }
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; }
/// <summary> /// Constructor /// </summary> /// <param name="cookie">Cookie object to set rendering options for</param> public Rendering(Cookie cookie) : base() { this.Cookie = cookie; }
/// <summary> /// Constructor /// </summary> /// <param name="cookie">Cookie object the options are being defined for</param> public CookieOptions(Cookie cookie) : base() { this.Cookie = cookie; }
/// <summary> /// Constructor /// </summary> /// <param name="cookie">Cookie object to define options for</param> public Options(Cookie cookie) : base() { this.Cookie = cookie; this.Reset(); }