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