コード例 #1
0
 public static HttpCookie value(this HttpCookie httpCookie, string newValue)
 {
     if (httpCookie.notNull())
     {
         httpCookie.Value = newValue;
     }
     return(httpCookie);
 }
コード例 #2
0
 public static HttpCookie httpOnly(this HttpCookie httpCookie, bool value)
 {
     if (httpCookie.notNull())
     {
         httpCookie.HttpOnly = value;
     }
     return(httpCookie);
 }
コード例 #3
0
 public static string value(this HttpCookie httpCookie)
 {
     return(httpCookie.notNull()
                ? httpCookie.Value
                : null);
 }