C# Class Subtext.Framework.ImportManager

Summary description for ImportManager.
Exibir arquivo Open project: ayende/Subtext

Public Methods

Method 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 method

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

Import() public static method

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
return void

ValidateImportAnswers() public static method

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
return string