Class
HotFixUpdater

Definition

Namespace:ArtOfTest.WebAii.Design.HotFixUpdate

Assembly:ArtOfTest.WebAii.Design.dll

Syntax:

cs-api-definition
public class HotFixUpdater : IHotFixUpdater

Inheritance: objectHotFixUpdater

Implements: IHotFixUpdater

Constructors

HotFixUpdater(IConnector, string)

Declaration

cs-api-definition
public HotFixUpdater(IConnector connector, string bucket)

Parameters

connector

IConnector

bucket

string

Methods

CleanUpAssemblyBackUpsAsync()

Deletes the backups of the updated assemblies if available

Declaration

cs-api-definition
public Task CleanUpAssemblyBackUpsAsync()

Returns

Task

A task with the operation

Implements IHotFixUpdater.CleanUpAssemblyBackUpsAsync()

IsNewHotFixAvailableAsync()

Checks whether there are newer compatible hot fixable assemblies available

Declaration

cs-api-definition
public Task<bool> IsNewHotFixAvailableAsync()

Returns

Task<bool>

True if there are newer

Implements IHotFixUpdater.IsNewHotFixAvailableAsync()

IsProductRestartRequiredAsync()

Checks whether the hot fixable assemblies loaded into the appDomain are different that the latest downloaded

Declaration

cs-api-definition
public Task<bool> IsProductRestartRequiredAsync()

Returns

Task<bool>

True if a product restart is required

Implements IHotFixUpdater.IsProductRestartRequiredAsync()

UpdateCurrentAssembliesAsync()

Updates the current hot fixable assemblies with the latest version if available

Declaration

cs-api-definition
public Task<bool> UpdateCurrentAssembliesAsync()

Returns

Task<bool>

True if successful

Implements IHotFixUpdater.UpdateCurrentAssembliesAsync()