C# Class Rebel.Framework.Persistence.NHibernate.ProviderBootstrapper

Inheritance: Rebel.Hive.AbstractProviderBootstrapper
Afficher le fichier Open project: RebelCMS/rebelcmsxu5 Class Usage Examples

Méthodes publiques

Méthode Description
ConfigureApplication ( string providerKey, System.Xml.Linq.XDocument configXml, BendyObject installParams ) : void

Creates any necessary configuration files/transforms for the provider to operate

GetInstallStatus ( ) : InstallStatus
ProviderBootstrapper ( global configuration, ProviderConfigurationSection localConfig ) : System

Initializes a new instance of the ProviderBootstrapper class if sufficient configuration information has been supplied by the user.

TryInstall ( ) : InstallStatus
UpdateSchema ( global configuration ) : void
ValidateSchema ( global configuration ) : bool

Method Details

ConfigureApplication() public méthode

Creates any necessary configuration files/transforms for the provider to operate
public ConfigureApplication ( string providerKey, System.Xml.Linq.XDocument configXml, BendyObject installParams ) : void
providerKey string The provider key for the provider that is being configured
configXml System.Xml.Linq.XDocument The configuration xml file that needs to be written to
installParams BendyObject TODO: This is only a temporary way of passing arbitrary parameters to a provider to create its configuration, /// we need to allow hive providers to return a model for which we display a form/installer for and then pass in that /// model to the installParams
Résultat void

GetInstallStatus() public méthode

public GetInstallStatus ( ) : InstallStatus
Résultat Rebel.Framework.ProviderSupport.InstallStatus

ProviderBootstrapper() public méthode

Initializes a new instance of the ProviderBootstrapper class if sufficient configuration information has been supplied by the user.
public ProviderBootstrapper ( global configuration, ProviderConfigurationSection localConfig ) : System
configuration global The configuration.
localConfig Rebel.Framework.Persistence.NHibernate.Config.ProviderConfigurationSection The existing config.
Résultat System

TryInstall() public méthode

public TryInstall ( ) : InstallStatus
Résultat Rebel.Framework.ProviderSupport.InstallStatus

UpdateSchema() public static méthode

public static UpdateSchema ( global configuration ) : void
configuration global
Résultat void

ValidateSchema() public méthode

public ValidateSchema ( global configuration ) : bool
configuration global
Résultat bool