C# Class Adf.Base.Configuration.AssemblyQualifiedTypeNameConverter

Represents a configuration converter that converts a string to Type based on a fully qualified name.
Inheritance: System.Configuration.ConfigurationConverterBase
Datei anzeigen Open project: NLADP/ADF

Public Methods

Method Description
ConvertFrom ( ITypeDescriptorContext context, System culture, object value ) : object

Returns a type based on the assembly qualified name passed in as data.

ConvertTo ( ITypeDescriptorContext context, System culture, object value, Type destinationType ) : object

Returns the assembly qualified name for the passed in Type.

Method Details

ConvertFrom() public method

Returns a type based on the assembly qualified name passed in as data.
public ConvertFrom ( ITypeDescriptorContext context, System culture, object value ) : object
context ITypeDescriptorContext The container representing this System.ComponentModel.TypeDescriptor.
culture System Culture info for assembly.
value object Data to convert.
return object

ConvertTo() public method

Returns the assembly qualified name for the passed in Type.
public ConvertTo ( ITypeDescriptorContext context, System culture, object value, Type destinationType ) : object
context ITypeDescriptorContext The container representing this System.ComponentModel.TypeDescriptor.
culture System Culture info for assembly
value object Value to convert.
destinationType System.Type Type to convert to.
return object