private void WriteCookie <T>(T value) { var key = GetUserConfigurationCookieName <T>(); _cookieManager.Append(key, value); }