C# Класс Subtext.Framework.InstallationManager

Class used to help make determine whether an installation is required or not.
Показать файл Открыть проект

Открытые методы

Метод Описание
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