C# Class NuSelfUpdate.AppUpdaterBuilder

Afficher le fichier Open project: caleb-vear/NuSelfUpdate Class Usage Examples

Méthodes publiques

Méthode Description
AppUpdaterBuilder ( string appPackageId ) : System
Build ( ) : AppUpdater

Build the AppUpdater with the configured options.

CommandLineInfoProvidedBy ( ICommandLineWrapper commandLineWrapper ) : AppUpdaterBuilder

Control how the AppUpdater will determine what the current command line arguments are. This use used for the LaunchInstalledUpdate feature.

CreatePackageRepositoriesWith ( IPackageRepositoryFactory repositoryFactory ) : AppUpdaterBuilder

Provide an alternative IPackageRepositoryFactory if you need to customize how the AppUpdater will create a package repository IPackageRepository.

CurrentVersionProvidedBy ( IAppVersionProvider appVersionProvider ) : AppUpdaterBuilder

Control how the AppUpdater will determine what the current version of the application is. The default is to use the assembly version of the entry assembly.

FileSystemAccessedThrough ( IExtendedFileSystem fileSystem ) : AppUpdaterBuilder

Control how the AppUpdater will access the file system.

RelaunchAppWith ( IProcessWrapper processWrapper ) : AppUpdaterBuilder

Control how the AppUpdater will launch the new process when using the LaunchInstalledUpdater feature.

SourceUpdatesFrom ( string packageSource ) : AppUpdaterBuilder

Set the packageSource which will be used when creating the package repository. The default is to use the public NuGet repository.

Private Methods

Méthode Description
GetAppDir ( ) : string

Method Details

AppUpdaterBuilder() public méthode

public AppUpdaterBuilder ( string appPackageId ) : System
appPackageId string The id of the package this applications updates are published to.
Résultat System

Build() public méthode

Build the AppUpdater with the configured options.
public Build ( ) : AppUpdater
Résultat AppUpdater

CommandLineInfoProvidedBy() public méthode

Control how the AppUpdater will determine what the current command line arguments are. This use used for the LaunchInstalledUpdate feature.
public CommandLineInfoProvidedBy ( ICommandLineWrapper commandLineWrapper ) : AppUpdaterBuilder
commandLineWrapper ICommandLineWrapper
Résultat AppUpdaterBuilder

CreatePackageRepositoriesWith() public méthode

Provide an alternative IPackageRepositoryFactory if you need to customize how the AppUpdater will create a package repository IPackageRepository.
public CreatePackageRepositoriesWith ( IPackageRepositoryFactory repositoryFactory ) : AppUpdaterBuilder
repositoryFactory IPackageRepositoryFactory
Résultat AppUpdaterBuilder

CurrentVersionProvidedBy() public méthode

Control how the AppUpdater will determine what the current version of the application is. The default is to use the assembly version of the entry assembly.
public CurrentVersionProvidedBy ( IAppVersionProvider appVersionProvider ) : AppUpdaterBuilder
appVersionProvider IAppVersionProvider
Résultat AppUpdaterBuilder

FileSystemAccessedThrough() public méthode

Control how the AppUpdater will access the file system.
public FileSystemAccessedThrough ( IExtendedFileSystem fileSystem ) : AppUpdaterBuilder
fileSystem IExtendedFileSystem
Résultat AppUpdaterBuilder

RelaunchAppWith() public méthode

Control how the AppUpdater will launch the new process when using the LaunchInstalledUpdater feature.
public RelaunchAppWith ( IProcessWrapper processWrapper ) : AppUpdaterBuilder
processWrapper IProcessWrapper
Résultat AppUpdaterBuilder

SourceUpdatesFrom() public méthode

Set the packageSource which will be used when creating the package repository. The default is to use the public NuGet repository.
public SourceUpdatesFrom ( string packageSource ) : AppUpdaterBuilder
packageSource string
Résultat AppUpdaterBuilder