41 references to _StoredValues
System.Web.Extensions (41)
ClientServices\Providers\ClientData.cs (41)
84
if (
_StoredValues
[iter] is string)
85
_StoredValues
[iter] = reader.ReadContentAsString();
86
else if (
_StoredValues
[iter] is DateTime) {
89
_StoredValues
[iter] = DateTime.FromFileTimeUtc(l);
90
} else if (
_StoredValues
[iter] is bool) {
92
_StoredValues
[iter] = !(string.IsNullOrEmpty(s) || s != "1");
94
_StoredValues
[iter] = ReadStringArray(reader);
133
internal string LastLoggedInUserName { get { return (string)
_StoredValues
[(int)ClientDateStoreOrderEnum.LastLoggedInUserName]; } set {
_StoredValues
[(int)ClientDateStoreOrderEnum.LastLoggedInUserName] = value; } }
134
internal DateTime LastLoggedInDateUtc { get { return (DateTime)
_StoredValues
[(int)ClientDateStoreOrderEnum.LastLoggedInDateUtc]; } set {
_StoredValues
[(int)ClientDateStoreOrderEnum.LastLoggedInDateUtc] = value; } }
137
internal string PasswordHash { get { return (string)
_StoredValues
[(int)ClientDateStoreOrderEnum.PasswordHash]; } set {
_StoredValues
[(int)ClientDateStoreOrderEnum.PasswordHash] = value; } }
138
internal string PasswordSalt { get { return (string)
_StoredValues
[(int)ClientDateStoreOrderEnum.PasswordSalt]; } set {
_StoredValues
[(int)ClientDateStoreOrderEnum.PasswordSalt] = value; } }
141
internal string[] Roles { get { return (string[])
_StoredValues
[(int)ClientDateStoreOrderEnum.Roles]; } set {
_StoredValues
[(int)ClientDateStoreOrderEnum.Roles] = value; } }
142
internal DateTime RolesCachedDateUtc { get { return (DateTime)
_StoredValues
[(int)ClientDateStoreOrderEnum.RolesCachedDateUtc]; } set {
_StoredValues
[(int)ClientDateStoreOrderEnum.RolesCachedDateUtc] = value; } }
145
internal string[] SettingsNames { get { return (string[])
_StoredValues
[(int)ClientDateStoreOrderEnum.SettingsNames]; } set {
_StoredValues
[(int)ClientDateStoreOrderEnum.SettingsNames] = value; } }
146
internal string[] SettingsStoredAs{ get { return (string[])
_StoredValues
[(int)ClientDateStoreOrderEnum.SettingsStoredAs]; } set {
_StoredValues
[(int)ClientDateStoreOrderEnum.SettingsStoredAs] = value; } }
147
internal string[] SettingsValues { get { return (string[])
_StoredValues
[(int)ClientDateStoreOrderEnum.SettingsValues]; } set {
_StoredValues
[(int)ClientDateStoreOrderEnum.SettingsValues] = value; } }
149
internal bool SettingsNeedReset { get { return (bool)
_StoredValues
[(int)ClientDateStoreOrderEnum.SettingsNeedReset]; } set {
_StoredValues
[(int)ClientDateStoreOrderEnum.SettingsNeedReset] = value; } }
150
internal bool SettingsCacheIsMoreFresh { get { return (bool)
_StoredValues
[(int)ClientDateStoreOrderEnum.SettingsCacheIsMoreFresh]; } set {
_StoredValues
[(int)ClientDateStoreOrderEnum.SettingsCacheIsMoreFresh] = value; } }
153
internal string[] CookieNames { get { return (string[])
_StoredValues
[(int)ClientDateStoreOrderEnum.CookieNames]; } set {
_StoredValues
[(int)ClientDateStoreOrderEnum.CookieNames] = value; } }
154
internal string[] CookieValues { get { return (string[])
_StoredValues
[(int)ClientDateStoreOrderEnum.CookieValues]; } set {
_StoredValues
[(int)ClientDateStoreOrderEnum.CookieValues] = value; } }
189
if (
_StoredValues
[iter] == null) {
191
} else if (
_StoredValues
[iter] is string) {
192
writer.WriteValue(
_StoredValues
[iter]);
193
} else if (
_StoredValues
[iter] is bool) {
194
writer.WriteValue(((bool)
_StoredValues
[iter]) ? "1" : "0");
195
} else if (
_StoredValues
[iter] is DateTime) {
196
writer.WriteValue(((DateTime)
_StoredValues
[iter]).ToFileTimeUtc().ToString("X", CultureInfo.InvariantCulture));
198
WriteStringArray(writer, (string[])
_StoredValues
[iter]);