C# 클래스 Rebel.Framework.Persistence.NHibernate.ProviderBootstrapper

상속: Rebel.Hive.AbstractProviderBootstrapper
파일 보기 프로젝트 열기: RebelCMS/rebelcmsxu5 1 사용 예제들

공개 메소드들

메소드 설명
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

메소드 상세

ConfigureApplication() 공개 메소드

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
리턴 void

GetInstallStatus() 공개 메소드

public GetInstallStatus ( ) : InstallStatus
리턴 Rebel.Framework.ProviderSupport.InstallStatus

ProviderBootstrapper() 공개 메소드

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.
리턴 System

TryInstall() 공개 메소드

public TryInstall ( ) : InstallStatus
리턴 Rebel.Framework.ProviderSupport.InstallStatus

UpdateSchema() 공개 정적인 메소드

public static UpdateSchema ( global configuration ) : void
configuration global
리턴 void

ValidateSchema() 공개 메소드

public ValidateSchema ( global configuration ) : bool
configuration global
리턴 bool