C# 클래스 NuSelfUpdate.AppUpdaterBuilder

파일 보기 프로젝트 열기: caleb-vear/NuSelfUpdate 1 사용 예제들

공개 메소드들

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

비공개 메소드들

메소드 설명
GetAppDir ( ) : string

메소드 상세

AppUpdaterBuilder() 공개 메소드

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

Build() 공개 메소드

Build the AppUpdater with the configured options.
public Build ( ) : AppUpdater
리턴 AppUpdater

CommandLineInfoProvidedBy() 공개 메소드

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

CreatePackageRepositoriesWith() 공개 메소드

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

CurrentVersionProvidedBy() 공개 메소드

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

FileSystemAccessedThrough() 공개 메소드

Control how the AppUpdater will access the file system.
public FileSystemAccessedThrough ( IExtendedFileSystem fileSystem ) : AppUpdaterBuilder
fileSystem IExtendedFileSystem
리턴 AppUpdaterBuilder

RelaunchAppWith() 공개 메소드

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

SourceUpdatesFrom() 공개 메소드

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