37 references to Property
System (25)
sys\system\configuration\LocalFileSettingsProvider.cs (1)
173
SettingsProperty setting = value.
Property
;
sys\system\configuration\SettingsBase.cs (1)
123
if (pp.
Property
.Provider == prov) {
sys\system\configuration\SettingsPropertyValue.cs (23)
46
if (_Value != null && !
Property
.PropertyType.IsPrimitive && !(_Value is string) && !(_Value is DateTime))
104
val = GetObjectFromString(
Property
.PropertyType,
Property
.SerializeAs, (string)SerializedValue);
117
object[] args = new object[] {
Property
, this, exception};
132
if (val != null && !
Property
.PropertyType.IsAssignableFrom(val.GetType())) // is it the correct type
141
if (
Property
.DefaultValue == null ||
Property
.DefaultValue.ToString() == "[null]") {
142
if (
Property
.PropertyType.IsValueType)
143
return SecurityUtils.SecureCreateInstance(
Property
.PropertyType);
147
if (!(
Property
.DefaultValue is string)) {
148
val =
Property
.DefaultValue;
151
val = GetObjectFromString(
Property
.PropertyType,
Property
.SerializeAs, (string)
Property
.DefaultValue);
153
throw new ArgumentException(SR.GetString(SR.Could_not_create_from_default_value,
Property
.Name, e.Message));
156
if (val != null && !
Property
.PropertyType.IsAssignableFrom(val.GetType())) // is it the correct type
157
throw new ArgumentException(SR.GetString(SR.Could_not_create_from_default_value_2,
Property
.Name));
164
if (
Property
.PropertyType == typeof(string)) {
168
val = SecurityUtils.SecureCreateInstance(
Property
.PropertyType);
221
if (
Property
.SerializeAs != SettingsSerializeAs.Binary)
222
return ConvertObjectToString(_Value,
Property
.PropertyType,
Property
.SerializeAs,
Property
.ThrowOnErrorSerializing);
System.Web (3)
Profile\ProfileModule.cs (3)
169
if (length == -1 && !pp.
Property
.PropertyType.IsValueType) // Null Value
207
bool allowAnonymous = (bool)pp.
Property
.Attributes["AllowAnonymous"];
221
bool allowAnonymous = (bool)pp.
Property
.Attributes["AllowAnonymous"];
System.Web.Extensions (9)
ClientServices\Providers\ClientSettingsProvider.cs (9)
401
if (!_KnownTypesHashtable.Contains(p.
Property
.PropertyType)) {
402
_KnownTypesHashtable.Add(p.
Property
.PropertyType, string.Empty);
405
al.Add(p.
Property
.PropertyType);
622
propertyValues.Add(value.
Property
.Name, value.PropertyValue);
763
cd.SettingsNames[iter] = value.
Property
.Name;
792
SqlHelper.AddParameter(conn, cmd, "@PropName", value.
Property
.Name);
800
SqlHelper.AddParameter(conn, cmd, "@PropName", value.
Property
.Name);
803
SqlHelper.AddParameter(conn, cmd, "@PropName", value.
Property
.Name);
807
SqlHelper.AddParameter(conn, cmd, "@PropName", value.
Property
.Name);