2 writes to DefaultValue
System (2)
sys\system\configuration\ApplicationSettingsBase.cs (2)
420
sp.
DefaultValue
= ((DefaultSettingValueAttribute)attr).Value;
532
_init.
DefaultValue
= null;
16 references to DefaultValue
System (11)
sys\system\configuration\LocalFileSettingsProvider.cs (5)
114
else if (setting.
DefaultValue
!= null && setting.
DefaultValue
is string) {
115
value.PropertyValue = setting.
DefaultValue
;
149
else if (setting.
DefaultValue
!= null) {
150
value.SerializedValue = setting.
DefaultValue
;
sys\system\configuration\SettingsProperty.cs (1)
64
_DefaultValue = propertyToCopy.
DefaultValue
;
sys\system\configuration\SettingsPropertyValue.cs (5)
141
if (Property.
DefaultValue
== null || Property.
DefaultValue
.ToString() == "[null]") {
147
if (!(Property.
DefaultValue
is string)) {
148
val = Property.
DefaultValue
;
151
val = GetObjectFromString(Property.PropertyType, Property.SerializeAs, (string)Property.
DefaultValue
);
System.Web.Extensions (5)
ApplicationServices\ApplicationServiceHelper.cs (4)
189
if (property.
DefaultValue
!= null) {
190
if (property.
DefaultValue
is string) {
191
defaultValue = (string)property.
DefaultValue
;
194
defaultValue = Convert.ToBase64String((byte[])property.
DefaultValue
);
ClientServices\Providers\ClientSettingsProvider.cs (1)
939
value.SerializedValue = prop.
DefaultValue
;