C# Class Subtext.Framework.ImportManager

Summary description for ImportManager.
Afficher le fichier Open project: ayende/Subtext

Méthodes publiques

Méthode Description
GetImportInformationControl ( ImportProvider provider ) : Control

Gets the import information control for the specified import provider.

Import ( Control populatedControl, ImportProvider provider ) : void

Begins the import using the information within the populated Control.

ValidateImportAnswers ( Control populatedControl, ImportProvider provider ) : string

Validates the import information provided by the user. Returns a string with error information. The string is empty if there are no errors.

Method Details

GetImportInformationControl() public static méthode

Gets the import information control for the specified import provider.
public static GetImportInformationControl ( ImportProvider provider ) : Control
provider Subtext.Extensibility.Providers.ImportProvider Provider info.
Résultat System.Web.UI.Control

Import() public static méthode

Begins the import using the information within the populated Control.
public static Import ( Control populatedControl, ImportProvider provider ) : void
populatedControl System.Web.UI.Control Control containing the user's answers.
provider Subtext.Extensibility.Providers.ImportProvider
Résultat void

ValidateImportAnswers() public static méthode

Validates the import information provided by the user. Returns a string with error information. The string is empty if there are no errors.
public static ValidateImportAnswers ( Control populatedControl, ImportProvider provider ) : string
populatedControl System.Web.UI.Control Information.
provider Subtext.Extensibility.Providers.ImportProvider
Résultat string