C# Class System.Configuration.ConfigurationProperty

Show file Open project: gbarnett/shared-source-cli-2.0 Class Usage Examples

Private Properties

Property Type Description
ConfigurationProperty System
ConstructorInit void
ConvertFromString Object
ConvertToString string
CreateConverter void
InitDefaultValueFromTypeInfo void
SetDefaultValue void
Validate void
ValidatePropertyName void

Public Methods

Method Description
ConfigurationProperty ( String name, Type type ) : System
ConfigurationProperty ( String name, Type type, Object defaultValue ) : System
ConfigurationProperty ( String name, Type type, Object defaultValue, ConfigurationPropertyOptions options ) : System
ConfigurationProperty ( String name, Type type, Object defaultValue, TypeConverter typeConverter, ConfigurationValidatorBase validator, ConfigurationPropertyOptions options ) : System
ConfigurationProperty ( String name, Type type, Object defaultValue, TypeConverter typeConverter, ConfigurationValidatorBase validator, ConfigurationPropertyOptions options, string description ) : System

Private Methods

Method Description
ConfigurationProperty ( PropertyInfo info ) : System
ConstructorInit ( string name, Type type, ConfigurationPropertyOptions options, ConfigurationValidatorBase validator, TypeConverter converter ) : void
ConvertFromString ( string value ) : Object
ConvertToString ( Object value ) : string
CreateConverter ( ) : void
InitDefaultValueFromTypeInfo ( ConfigurationPropertyAttribute attribProperty, DefaultValueAttribute attribStdDefault ) : void
SetDefaultValue ( object value ) : void
Validate ( object value ) : void
ValidatePropertyName ( string name ) : void

Method Details

ConfigurationProperty() public method

public ConfigurationProperty ( String name, Type type ) : System
name String
type System.Type
return System

ConfigurationProperty() public method

public ConfigurationProperty ( String name, Type type, Object defaultValue ) : System
name String
type System.Type
defaultValue Object
return System

ConfigurationProperty() public method

public ConfigurationProperty ( String name, Type type, Object defaultValue, ConfigurationPropertyOptions options ) : System
name String
type System.Type
defaultValue Object
options ConfigurationPropertyOptions
return System

ConfigurationProperty() public method

public ConfigurationProperty ( String name, Type type, Object defaultValue, TypeConverter typeConverter, ConfigurationValidatorBase validator, ConfigurationPropertyOptions options ) : System
name String
type System.Type
defaultValue Object
typeConverter System.ComponentModel.TypeConverter
validator ConfigurationValidatorBase
options ConfigurationPropertyOptions
return System

ConfigurationProperty() public method

public ConfigurationProperty ( String name, Type type, Object defaultValue, TypeConverter typeConverter, ConfigurationValidatorBase validator, ConfigurationPropertyOptions options, string description ) : System
name String
type System.Type
defaultValue Object
typeConverter System.ComponentModel.TypeConverter
validator ConfigurationValidatorBase
options ConfigurationPropertyOptions
description string
return System