C# Class Adf.ObjectFactory.ObjectBuilder.Configuration.AssemblyQualifiedTypeNameConverter

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

Méthodes publiques

Méthode 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 méthode

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.
Résultat object

ConvertTo() public méthode

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.
Résultat object