42 references to SettingsSerializeAs
System (34)
sys\system\configuration\ApplicationSettingsBase.cs (3)
649
private
SettingsSerializeAs
GetSerializeAs(Type type) {
656
return
SettingsSerializeAs
.String;
660
return
SettingsSerializeAs
.Xml;
sys\system\configuration\ClientSettingsStore.cs (2)
507
internal StoredSetting(
SettingsSerializeAs
serializeAs, XmlNode value) {
511
internal
SettingsSerializeAs
SerializeAs;
sys\system\configuration\LocalFileSettingsProvider.cs (4)
143
if (ss.SerializeAs ==
SettingsSerializeAs
.String) {
407
if (ss.SerializeAs ==
SettingsSerializeAs
.String) {
461
if (serializedValue == null && setting.SerializeAs ==
SettingsSerializeAs
.Binary) {
476
if (setting.SerializeAs ==
SettingsSerializeAs
.String) {
sys\system\configuration\sections\ClientSettingsSection.cs (6)
89
private static readonly ConfigurationProperty _propSerializeAs = new ConfigurationProperty("serializeAs", typeof(
SettingsSerializeAs
),
SettingsSerializeAs
.String,ConfigurationPropertyOptions.IsRequired);
106
public SettingElement(String name,
SettingsSerializeAs
serializeAs) : this() {
143
[ConfigurationProperty("serializeAs", IsRequired = true, DefaultValue =
SettingsSerializeAs
.String)]
144
public
SettingsSerializeAs
SerializeAs {
146
return (
SettingsSerializeAs
) base[_propSerializeAs];
sys\system\configuration\SettingsAttributes.cs (3)
197
private readonly
SettingsSerializeAs
_serializeAs;
202
public SettingsSerializeAsAttribute(
SettingsSerializeAs
serializeAs) {
209
public
SettingsSerializeAs
SerializeAs {
sys\system\configuration\SettingsProperty.cs (3)
27
public virtual
SettingsSerializeAs
SerializeAs { get { return _SerializeAs; } set { _SerializeAs = value; } }
42
bool isReadOnly, object defaultValue,
SettingsSerializeAs
serializeAs,
76
private
SettingsSerializeAs
_SerializeAs;
sys\system\configuration\SettingsPropertyValue.cs (13)
176
private static object GetObjectFromString(Type type,
SettingsSerializeAs
serializeAs, string attValue)
179
if (type == typeof(string) && (attValue == null || attValue.Length < 1 || serializeAs ==
SettingsSerializeAs
.String))
189
case
SettingsSerializeAs
.Binary:
200
case
SettingsSerializeAs
.Xml:
205
case
SettingsSerializeAs
.String:
221
if (Property.SerializeAs !=
SettingsSerializeAs
.Binary)
235
private static string ConvertObjectToString(object propValue, Type type,
SettingsSerializeAs
serializeAs, bool throwOnError)
237
if (serializeAs ==
SettingsSerializeAs
.ProviderSpecific) {
239
serializeAs =
SettingsSerializeAs
.String;
241
serializeAs =
SettingsSerializeAs
.Xml;
246
case
SettingsSerializeAs
.String:
251
case
SettingsSerializeAs
.Binary :
262
case
SettingsSerializeAs
.Xml :
System.Web (6)
Profile\HttpProfileBase.cs (3)
416
SettingsSerializeAs
serializeAs =
SettingsSerializeAs
.ProviderSpecific;
523
SettingsProperty sp = new SettingsProperty(name, pps.TypeInternal, pps.ProviderInternal, pps.ReadOnly, pps.DefaultValue, (
SettingsSerializeAs
)pps.SerializeAs, settings, false, true);
Profile\SqlProfileProvider.cs (3)
128
if (prop.SerializeAs ==
SettingsSerializeAs
.ProviderSpecific)
130
prop.SerializeAs =
SettingsSerializeAs
.String;
132
prop.SerializeAs =
SettingsSerializeAs
.Xml;
System.Web.Extensions (2)
ClientServices\Providers\ClientSettingsProvider.cs (2)
131
SettingsSerializeAs
serializeAs = (
SettingsSerializeAs
)p.SerializeAs;