1 write to _options
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
CookieTempDataProvider.cs (1)
48
_options
= options.Value;
12 references to _options
Microsoft.AspNetCore.Mvc.ViewFeatures (12)
CookieTempDataProvider.cs (12)
60
if (context.Request.Cookies.ContainsKey(
_options
.Cookie.Name))
70
var encodedValue = _chunkingCookieManager.GetRequestCookie(context,
_options
.Cookie.Name);
76
Log.TempDataCookieLoadSuccess(_logger,
_options
.Cookie.Name);
82
Log.TempDataCookieLoadFailure(_logger,
_options
.Cookie.Name, ex);
88
_chunkingCookieManager.DeleteCookie(context,
_options
.Cookie.Name,
_options
.Cookie.Build(context));
93
Log.TempDataCookieNotFound(_logger,
_options
.Cookie.Name);
106
var cookieOptions =
_options
.Cookie.Build(context);
115
_chunkingCookieManager.AppendResponseCookie(context,
_options
.Cookie.Name, encodedValue, cookieOptions);
119
_chunkingCookieManager.DeleteCookie(context,
_options
.Cookie.Name, cookieOptions);
125
if (!string.IsNullOrEmpty(
_options
.Cookie.Path))
127
cookieOptions.Path =
_options
.Cookie.Path;