C# Class BuildIt.Config.Core.Services.ConfigurationHelpers

Afficher le fichier Open project: builttoroam/BuildIt

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
BlockAppFromRunning ( this configurationService, string title, string body, Func retryAction = null ) : Task
CheckMinimumVersion ( this configurationService, bool retrieveCached = false, string minVerKey = Constants.AppConfigurationMinVersionKey ) : Task
CheckRecommendedVersion ( this configurationService, bool retrieveCached = false, string recommVerKey = Constants.AppConfigurationRecommVersionKey ) : Task
HandleServiceNotification ( this configurationService, bool retrieveCached = false, System.Action failureHandler = null, string serviceNotificationTitleKey = Constants.AppConfigurationServiceNotificationTitleKey, string serviceNotificationBodyKey = Constants.AppConfigurationServiceNotificationBodyKey, string serviceNotificationShowKey = Constants.AppConfigurationServiceNotificationDisplayingKey ) : Task
NotifyUserWhenNotMetAppMinVer ( this configurationService, bool handleLoadConfigValidation = false, bool retrieveCached = false, string minVerKey = Constants.AppConfigurationMinVersionKey ) : Task
NotifyUserWhenNotMetAppRecommendedVer ( this configurationService, bool retrieveCached = false, System.Action failureHandler = null, string recommVerKey = Constants.AppConfigurationRecommVersionKey ) : Task

Method Details

BlockAppFromRunning() public static méthode

public static BlockAppFromRunning ( this configurationService, string title, string body, Func retryAction = null ) : Task
configurationService this
title string
body string
retryAction Func
Résultat Task

CheckMinimumVersion() public static méthode

public static CheckMinimumVersion ( this configurationService, bool retrieveCached = false, string minVerKey = Constants.AppConfigurationMinVersionKey ) : Task
configurationService this
retrieveCached bool
minVerKey string
Résultat Task

CheckRecommendedVersion() public static méthode

public static CheckRecommendedVersion ( this configurationService, bool retrieveCached = false, string recommVerKey = Constants.AppConfigurationRecommVersionKey ) : Task
configurationService this
retrieveCached bool
recommVerKey string
Résultat Task

HandleServiceNotification() public static méthode

public static HandleServiceNotification ( this configurationService, bool retrieveCached = false, System.Action failureHandler = null, string serviceNotificationTitleKey = Constants.AppConfigurationServiceNotificationTitleKey, string serviceNotificationBodyKey = Constants.AppConfigurationServiceNotificationBodyKey, string serviceNotificationShowKey = Constants.AppConfigurationServiceNotificationDisplayingKey ) : Task
configurationService this
retrieveCached bool
failureHandler System.Action
serviceNotificationTitleKey string
serviceNotificationBodyKey string
serviceNotificationShowKey string
Résultat Task

NotifyUserWhenNotMetAppMinVer() public static méthode

public static NotifyUserWhenNotMetAppMinVer ( this configurationService, bool handleLoadConfigValidation = false, bool retrieveCached = false, string minVerKey = Constants.AppConfigurationMinVersionKey ) : Task
configurationService this
handleLoadConfigValidation bool
retrieveCached bool
minVerKey string
Résultat Task

NotifyUserWhenNotMetAppRecommendedVer() public static méthode

public static NotifyUserWhenNotMetAppRecommendedVer ( this configurationService, bool retrieveCached = false, System.Action failureHandler = null, string recommVerKey = Constants.AppConfigurationRecommVersionKey ) : Task
configurationService this
retrieveCached bool
failureHandler System.Action
recommVerKey string
Résultat Task