C# Класс BuildIt.Config.Core.Services.ConfigurationHelpers

Показать файл Открыть проект

Private Properties

Свойство Тип Описание

Открытые методы

Метод Описание
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

Описание методов

BlockAppFromRunning() публичный статический Метод

public static BlockAppFromRunning ( this configurationService, string title, string body, Func retryAction = null ) : Task
configurationService this
title string
body string
retryAction Func
Результат Task

CheckMinimumVersion() публичный статический Метод

public static CheckMinimumVersion ( this configurationService, bool retrieveCached = false, string minVerKey = Constants.AppConfigurationMinVersionKey ) : Task
configurationService this
retrieveCached bool
minVerKey string
Результат Task

CheckRecommendedVersion() публичный статический Метод

public static CheckRecommendedVersion ( this configurationService, bool retrieveCached = false, string recommVerKey = Constants.AppConfigurationRecommVersionKey ) : Task
configurationService this
retrieveCached bool
recommVerKey string
Результат Task

HandleServiceNotification() публичный статический Метод

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
Результат Task

NotifyUserWhenNotMetAppMinVer() публичный статический Метод

public static NotifyUserWhenNotMetAppMinVer ( this configurationService, bool handleLoadConfigValidation = false, bool retrieveCached = false, string minVerKey = Constants.AppConfigurationMinVersionKey ) : Task
configurationService this
handleLoadConfigValidation bool
retrieveCached bool
minVerKey string
Результат Task

NotifyUserWhenNotMetAppRecommendedVer() публичный статический Метод

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
Результат Task