C# Class NuGet.VisualStudio.ProductUpdateBar

Inheritance: System.Windows.Controls.UserControl
显示文件 Open project: xero-github/Nuget Class Usage Examples

Public Methods

Method Description
ProductUpdateBar ( IProductUpdateService productUpdateService ) : System
ShowUpdateBar ( System.Version currentVersion, System.Version newVersion ) : void

Private Methods

Method Description
HideUpdateBar ( ) : void
OnDeclineUpdateLinkClick ( object sender, RoutedEventArgs e ) : void
OnDeclineUpdateLinkClickNoRemind ( object sender, RoutedEventArgs e ) : void
OnUpdateAvailable ( object sender, NuGet.VisualStudio.ProductUpdateAvailableEventArgs e ) : void
OnUpdateLinkClick ( object sender, RoutedEventArgs e ) : void

Method Details

ProductUpdateBar() public method

public ProductUpdateBar ( IProductUpdateService productUpdateService ) : System
productUpdateService IProductUpdateService
return System

ShowUpdateBar() public method

public ShowUpdateBar ( System.Version currentVersion, System.Version newVersion ) : void
currentVersion System.Version
newVersion System.Version
return void