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

Mostrar archivo Open project: builttoroam/BuildIt

Private Properties

Property Type Description

Public Methods

Method 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 method

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

CheckMinimumVersion() public static method

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

CheckRecommendedVersion() public static method

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

HandleServiceNotification() public static method

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
return Task

NotifyUserWhenNotMetAppMinVer() public static method

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

NotifyUserWhenNotMetAppRecommendedVer() public static method

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
return Task