C# 클래스 NetSparkle.DefaultNetSparkleUIFactory

UI factory for default interface
상속: INetSparkleUIFactory
파일 보기 프로젝트 열기: Deadpikle/NetSparkle

공개 메소드들

메소드 설명
CreateProgressWindow ( NetSparkleAppCastItem item, Icon applicationIcon ) : INetSparkleDownloadProgress

Create download progress window

CreateSparkleForm ( Sparkle sparkle, NetSparkleAppCastItem updates, Icon applicationIcon ) : INetSparkleForm

Create sparkle form implementation

Init ( ) : void

Initialize UI. Called when Sparkle is constructed.

ShowCannotDownloadAppcast ( string appcastUrl ) : void

Show message that appcast is not available

ShowDownloadErrorMessage ( string message, string appCastUrl ) : void

Show message on download error

ShowToast ( NetSparkleAppCastItem updates, Icon applicationIcon, Action clickHandler ) : void

Show 'toast' window to notify new version is available

ShowUnknownInstallerFormatMessage ( string downloadFileName ) : void

Show user a message saying downloaded update format is unknown

ShowVersionIsSkippedByUserRequest ( ) : void

Show message that latest update was skipped by user

ShowVersionIsUpToDate ( ) : void

Show user that current installed version is up-to-date

메소드 상세

CreateProgressWindow() 공개 메소드

Create download progress window
public CreateProgressWindow ( NetSparkleAppCastItem item, Icon applicationIcon ) : INetSparkleDownloadProgress
item NetSparkleAppCastItem Appcast item to download
applicationIcon System.Drawing.Icon Application icon to use
리턴 INetSparkleDownloadProgress

CreateSparkleForm() 공개 메소드

Create sparkle form implementation
public CreateSparkleForm ( Sparkle sparkle, NetSparkleAppCastItem updates, Icon applicationIcon ) : INetSparkleForm
sparkle Sparkle
updates NetSparkleAppCastItem Sorted array of updates from latest to previous
applicationIcon System.Drawing.Icon Icon
리턴 INetSparkleForm

Init() 공개 메소드

Initialize UI. Called when Sparkle is constructed.
public Init ( ) : void
리턴 void

ShowCannotDownloadAppcast() 공개 메소드

Show message that appcast is not available
public ShowCannotDownloadAppcast ( string appcastUrl ) : void
appcastUrl string
리턴 void

ShowDownloadErrorMessage() 공개 메소드

Show message on download error
public ShowDownloadErrorMessage ( string message, string appCastUrl ) : void
message string Error message from exception
appCastUrl string
리턴 void

ShowToast() 공개 메소드

Show 'toast' window to notify new version is available
public ShowToast ( NetSparkleAppCastItem updates, Icon applicationIcon, Action clickHandler ) : void
updates NetSparkleAppCastItem Appcast updates
applicationIcon System.Drawing.Icon Icon to use in window
clickHandler Action handler for click
리턴 void

ShowUnknownInstallerFormatMessage() 공개 메소드

Show user a message saying downloaded update format is unknown
public ShowUnknownInstallerFormatMessage ( string downloadFileName ) : void
downloadFileName string
리턴 void

ShowVersionIsSkippedByUserRequest() 공개 메소드

Show message that latest update was skipped by user
public ShowVersionIsSkippedByUserRequest ( ) : void
리턴 void

ShowVersionIsUpToDate() 공개 메소드

Show user that current installed version is up-to-date
public ShowVersionIsUpToDate ( ) : void
리턴 void