public static HttpCookie value(this HttpCookie httpCookie, string newValue) { if (httpCookie.notNull()) { httpCookie.Value = newValue; } return(httpCookie); }
public static HttpCookie httpOnly(this HttpCookie httpCookie, bool value) { if (httpCookie.notNull()) { httpCookie.HttpOnly = value; } return(httpCookie); }
public static string value(this HttpCookie httpCookie) { return(httpCookie.notNull() ? httpCookie.Value : null); }