コード例 #1
0
 void WhenLaunchInstalledUpdateIsCalled()
 {
     _returnedInstalledUpdate = _appUpdater.LaunchInstalledUpdate(_installedUpdate);
 }
コード例 #2
0
 void WhenThePreparedUpdateIsApplied()
 {
     _installedUpdated = _appUpdater.ApplyPreparedUpdate(_preparedUpdate);
 }
コード例 #3
0
 void AndGivenAnInstalledUpdate()
 {
     _installedUpdate = new InstalledUpdate(_installedVersion, new Version(2, 0));
 }
コード例 #4
0
 void WhenLaunchInstalledUpdateIsCalled()
 {
     _returnedInstalledUpdate = _appUpdater.LaunchInstalledUpdate(_installedUpdate);
 }
コード例 #5
0
 void GivenANullInstalledUpdate()
 {
     _installedUpdate = default(InstalledUpdate);
 }
 void WhenAttemptingToCreateAnInstalledUpdateWithThoseVersions()
 {
     _installedUpdate = new InstalledUpdate(_oldVersion, _newVersion);
 }
コード例 #7
0
 void AndGivenAnInstalledUpdate()
 {
     _installedUpdate = new InstalledUpdate(_installedVersion, new Version(2, 0));
 }
コード例 #8
0
 static void Quit(InstalledUpdate installedUpdate)
 {
     Environment.Exit(0);
 }
 void WhenAttemptingToCreateAnInstalledUpdateWithThoseVersions()
 {
     _installedUpdate = new InstalledUpdate(_oldVersion, _newVersion);
 }
コード例 #10
0
 void WhenThePreparedUpdateIsApplied()
 {
     _installedUpdated = _appUpdater.ApplyPreparedUpdate(_preparedUpdate);
 }
コード例 #11
0
 void GivenANullInstalledUpdate()
 {
     _installedUpdate = default(InstalledUpdate);
 }
コード例 #12
0
ファイル: Program.cs プロジェクト: caleb-vear/NuSelfUpdate
 static void Quit(InstalledUpdate installedUpdate)
 {
     Environment.Exit(0);
 }