C# Class Subtext.Extensibility.Providers.ImportProvider

Provider for classes that implement an import process from another system.
Inheritance: System.Configuration.Provider.ProviderBase
Afficher le fichier Open project: ayende/Subtext Class Usage Examples

Méthodes publiques

Méthode Description
GatherImportInformation ( ) : Control

This method is called by the import engine in order to ask the provider what pieces of information it needs from the user in order to proceed with the import.

This method returns a Control used to gather the required installation information. This control will be returned back to the provider after the user provides the information.

Import ( Control populatedControl ) : void

Provides the import information as provided by the user back into the import provider and begins the import. The control passed in should be the same as that provided in GatherImportInformation, but with user values supplied within it.

Instance ( ) : ImportProvider

Returns the currently configured ImportProvider.

ValidateImportInformation ( Control control ) : string

Validates the installation information provided by the user. Returns a string with an explanation of why it is incorrect.

Method Details

GatherImportInformation() public abstract méthode

This method is called by the import engine in order to ask the provider what pieces of information it needs from the user in order to proceed with the import.

This method returns a Control used to gather the required installation information. This control will be returned back to the provider after the user provides the information.

public abstract GatherImportInformation ( ) : Control
Résultat System.Web.UI.Control

Import() public abstract méthode

Provides the import information as provided by the user back into the import provider and begins the import. The control passed in should be the same as that provided in GatherImportInformation, but with user values supplied within it.
public abstract Import ( Control populatedControl ) : void
populatedControl System.Web.UI.Control Populated control.
Résultat void

Instance() public static méthode

Returns the currently configured ImportProvider.
public static Instance ( ) : ImportProvider
Résultat ImportProvider

ValidateImportInformation() public abstract méthode

Validates the installation information provided by the user. Returns a string with an explanation of why it is incorrect.
public abstract ValidateImportInformation ( Control control ) : string
control System.Web.UI.Control control used to provide information.
Résultat string