C# 클래스 Subtext.Framework.InstallationManager

Class used to help make determine whether an installation is required or not.
파일 보기 프로젝트 열기: ayende/Subtext

공개 메소드들

메소드 설명
GetCurrentInstallationState ( System.Version assemblyVersion ) : InstallationState

Gets the installation status.

GetInstallationInformationControl ( ) : Control

Gets the installation information control.

InstallationActionRequired ( Exception unhandledException, System.Version assemblyVersion ) : bool

Determines whether an installation action is required by examining the specified unhandled Exception.

IsInstallationActionRequired ( System.Version assemblyVersion ) : bool

Gets a value indicating whether this instance is installation action required.

ResetInstallationStatusCache ( ) : void
SetInstallationQuestionAnswers ( Control control ) : void

Sets the installation question answers.

ValidateInstallationAnswers ( Control populatedControl ) : string

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

메소드 상세

GetCurrentInstallationState() 공개 정적인 메소드

Gets the installation status.
public static GetCurrentInstallationState ( System.Version assemblyVersion ) : InstallationState
assemblyVersion System.Version Gets the version of the currently installed assembly.
리턴 InstallationState

GetInstallationInformationControl() 공개 정적인 메소드

Gets the installation information control.
public static GetInstallationInformationControl ( ) : Control
리턴 System.Web.UI.Control

InstallationActionRequired() 공개 정적인 메소드

Determines whether an installation action is required by examining the specified unhandled Exception.
public static InstallationActionRequired ( Exception unhandledException, System.Version assemblyVersion ) : bool
unhandledException System.Exception Unhandled exception.
assemblyVersion System.Version The version of the currently installed assembly.
리턴 bool

IsInstallationActionRequired() 공개 정적인 메소드

Gets a value indicating whether this instance is installation action required.
public static IsInstallationActionRequired ( System.Version assemblyVersion ) : bool
assemblyVersion System.Version The version of the currently installed assembly.
리턴 bool

ResetInstallationStatusCache() 공개 정적인 메소드

public static ResetInstallationStatusCache ( ) : void
리턴 void

SetInstallationQuestionAnswers() 공개 정적인 메소드

Sets the installation question answers.
public static SetInstallationQuestionAnswers ( Control control ) : void
control System.Web.UI.Control Control containing the user's answers.
리턴 void

ValidateInstallationAnswers() 공개 정적인 메소드

Validates the installation information provided by the user. Returns a string with error information. The string is empty if there are no errors.
public static ValidateInstallationAnswers ( Control populatedControl ) : string
populatedControl System.Web.UI.Control Information.
리턴 string