public AuthenticationService(Func <IPublicClientApplication> pcaFactory, IAuthConfiguration configuration, ICurrentActivity currentActivity) { _client = pcaFactory(); _configuration = configuration; CurrentActivity = currentActivity; }
public void StartWithAppKey(string appKey) { ICurrentActivity current = CrossCurrentActivity.Current; Application appl = current.Activity.Application; CoLocator.Start(appl, appKey); }
public UserInteractionService( ICurrentActivity current, IScheduler mainScheduler = null) : base(mainScheduler) { _current = current; }
public DateTimeHelper(ICurrentActivity currentActivity, IAccountService accountService, ISettingService settingService) { this._currentActivity = currentActivity; this._accountService = accountService; this._settingService = settingService; }
public BarcodeReaderService(ICurrentActivity currentActivity) { _currentActivity = currentActivity; BarcodeReader = new BarcodeReader(_currentActivity.AppContext); IsReaderEnabled = true; }
public SystemSettings( ICurrentActivity currentActivity, IPermissions permissions ) { CurrentActivity = currentActivity; Permissions = permissions; }
public ThemeContext(ICurrentActivity currentActivity, IGenericAttributeService genericAttributeService, WebInformationSettings webInformationSettings, IThemeProvider themeProvider) { this._currentActivity = currentActivity; this._genericAttributeService = genericAttributeService; this._webInformationSettings = webInformationSettings; this._themeProvider = themeProvider; }
public NoticeService(IRepository<Notice> noticeRepository, ICurrentActivity currentActivity, ICacheManager cacheManager) { _noticeRepository = noticeRepository; _currentActivity = currentActivity; _cacheManager = cacheManager; }
public void ActivateForegroundService(string title, int icon, string channel) { ICurrentActivity current = CrossCurrentActivity.Current; Application appl = current.Activity.Application; Console.WriteLine("Setting Foreground Service with application " + appl + " title " + title + " iconID " + icon + " channel " + channel); CoLocator.SetServiceNotificationInfo(appl, title, icon, channel); }
public NavigationService( ICurrentActivity currentActivity, IViewAdapter <Fragment> viewAdapter, IViewFactory viewFactory) { _currentActivity = currentActivity; _viewAdapter = viewAdapter; _viewFactory = viewFactory; }
public SecurityController(IPermissionService permissionService, IAccountService accountService, ICurrentActivity currentActivity, ILocalizationService localizationService) { _permissionService = permissionService; _accountService = accountService; _currentActivity = currentActivity; _localizationService = localizationService; }
public LogController(ILogger logger, ICurrentActivity currentActivity, ILocalizationService localizationService, IDateTimeHelper dateTimeHelper, IPermissionService permissionService) { this._logger = logger; this._currentActivity = currentActivity; this._localizationService = localizationService; this._dateTimeHelper = dateTimeHelper; this._permissionService = permissionService; }
/// <summary> /// Ctor /// </summary> /// <param name="permissionPecordRepository">Permission repository</param> /// <param name="accountService">Account service</param> /// <param name="currentActivity">Current activity</param> /// <param name="cacheManager">Cache manager</param> public PermissionService(IRepository<PermissionRecord> permissionRecordRepository, IAccountService accountService, ICurrentActivity currentActivity, ICacheManager staticCacheManager) { this._permissionRecordRepository = permissionRecordRepository; this._accountService = accountService; this._currentActivity = currentActivity; this._cacheManager = staticCacheManager; }
public TopicController(ITopicService topicService, ILocalizationService localizationService, ICurrentActivity currentActivity, ICacheManager cacheManager) { this._topicService = topicService; this._currentActivity = currentActivity; this._localizationService = localizationService; this._cacheManager = cacheManager; }
public NavigationService( ICurrentActivity currentActivity, IViewAdapter <Fragment> viewAdapter, IViewFactory viewFactory) { _currentActivity = currentActivity; _viewAdapter = viewAdapter; _viewFactory = viewFactory; _currentActivity.Activity.FragmentManager.BackStackChanged += (sender, args) => { }; }
/// <summary> /// Ctor /// </summary> /// <param name="cacheManager">Cache manager</param> /// <param name="activityLogRepository">Activity log repository</param> /// <param name="activityLogTypeRepository">Activity log type repository</param> /// <param name="currentActivity">Work context</param> /// <param name="dbContext">DB context</param>> /// <param name="dataProvider">WeData provider</param> /// <param name="commonSettings">Common settings</param> public AccountActivityService(ICacheManager cacheManager, IRepository<ActivityLog> activityLogRepository, IRepository<ActivityLogType> activityLogTypeRepository, ICurrentActivity currentActivity, IContext dbContext, IDataProvider dataProvider, CommonSettings commonSettings) { this._cacheManager = cacheManager; this._activityLogRepository = activityLogRepository; this._activityLogTypeRepository = activityLogTypeRepository; this._currentActivity = currentActivity; this._dbContext = dbContext; this._dataProvider = dataProvider; this._commonSettings = commonSettings; }
public CommonController(IWebHelper webHelper, INoticeService noticeService, LocalizationSettings localizationSettings, ILanguageService languageService, ICurrentActivity currentActivity, ICacheManager cacheManager) { _webHelper = webHelper; _noticeService = noticeService; _localizationSettings = localizationSettings; _languageService = languageService; _currentActivity = currentActivity; _cacheManager = cacheManager; }
public AccountController(IAccountRegistrationService accountRegistrationService, IAccountService accountService, IAuthenticationService authenticationService, IGenericAttributeService genericAttributeService, ICurrentActivity currentActivity, IWorkflowMessageService workflowMessageService, AccountSettings accountSettings, ILocalizationService localizationService) { _accountRegistrationService = accountRegistrationService; _accountService = accountService; _authenticationService = authenticationService; _currentActivity = currentActivity; _genericAttributeService = genericAttributeService; _workflowMessageService = workflowMessageService; _accountSettings = accountSettings; _localizationService = localizationService; }
public MessageTokenProvider(ILanguageService languageService, ILocalizationService localizationService, IDateTimeHelper dateTimeHelper, IEmailAccountService emailAccountService, IWebHelper webHelper, ICurrentActivity currentActivity, MessageTemplatesSettings templatesSettings, EmailAccountSettings emailAccountSettings, WebInformationSettings webSettings) { this._languageService = languageService; this._localizationService = localizationService; this._dateTimeHelper = dateTimeHelper; this._emailAccountService = emailAccountService; this._webHelper = webHelper; this._currentActivity = currentActivity; this._webSettings = webSettings; this._templatesSettings = templatesSettings; this._emailAccountSettings = emailAccountSettings; }
/// <summary> /// Ctor /// </summary> /// <param name="cacheManager">Cache manager</param> /// <param name="logger">Logger</param> /// <param name="currentActivity">Work context</param> /// <param name="lsrRepository">Locale string resource repository</param> /// <param name="languageService">Language service</param> /// <param name="dataProvider">Data provider</param> /// <param name="context">Database Context</param> /// <param name="utilitySettings">Common settings</param> /// <param name="localizationSettings">Localization settings</param> /// <param name="eventPublisher">Event published</param> public LocalizationService(ICacheManager staticCacheManager, /*ILogger logger,*/ ICurrentActivity currentActivity, IRepository<LocaleStringResource> lsrRepository, ILanguageService languageService, IDataProvider dataProvider, IContext context, UtilitySettings utilitySettings, LocalizationSettings localizationSettings/*, IEventPublisher eventPublisher*/) { this._cacheManager = staticCacheManager; //this._logger = logger; this._currentActivity = currentActivity; this._lsrRepository = lsrRepository; this._languageService = languageService; this._dataProvider = dataProvider; this._context = context; this._utilitySettings = utilitySettings; this._dataProvider = dataProvider; this._context = context; this._utilitySettings = utilitySettings; this._localizationSettings = localizationSettings; //this._eventPublisher = eventPublisher; }
public ExternalAuthorizer(IAuthenticationService authenticationService, IOpenAuthenticationService openAuthenticationService, IGenericAttributeService genericAttributeService, IAccountRegistrationService accountRegistrationService, ILocalizationService localizationService, ICurrentActivity currentActivity, AccountSettings accountSettings, ExternalAuthenticationSettings externalAuthenticationSettings, IWorkflowMessageService workflowMessageService, LocalizationSettings localizationSettings) { this._authenticationService = authenticationService; this._openAuthenticationService = openAuthenticationService; this._genericAttributeService = genericAttributeService; this._accountRegistrationService = accountRegistrationService; this._localizationService = localizationService; this._currentActivity = currentActivity; this._accountSettings = accountSettings; this._externalAuthenticationSettings = externalAuthenticationSettings; this._workflowMessageService = workflowMessageService; this._localizationSettings = localizationSettings; }
protected AndroidTextToSpeech(ICurrentActivity currentActivity) =>
public WifiService(ICurrentActivity currentActivity) { _currentActivity = currentActivity; Manager = (WifiManager)_currentActivity.Activity.GetSystemService(Context.WifiService); }
/// <summary> /// Ctor /// </summary> /// <param name="webInformationSettings">Store information settings</param> /// <param name="currentActivity">Work context</param> public MobileDeviceHelper(WebInformationSettings webInformationSettings, ICurrentActivity currentActivity) { this._webInformationSettings = webInformationSettings; this._currentActivity = currentActivity; }
public TextToSpeech_Android(ICurrentActivity currentActivity) { _currentActivity = currentActivity; }
public MarkerSizeProvider(ICurrentActivity currentActivity) { _currentActivity = currentActivity; }
/// <summary> /// Initialize a new instance of 'NotificationManager'. /// </summary> /// <param name="activity">Current Activity.</param> public NotifyManager(ICurrentActivity activity) { _activity = activity; }
public StatusBarService(ICurrentActivity currentActivity) { _currentActivity = currentActivity; DefaultAttributes = currentActivity.Activity.Window.Attributes; }
public PageToFragmentAdapter(ICurrentActivity currentActivity) { _currentActivity = currentActivity; }
public TextToSpeechService(ICurrentActivity currentActivity) { _currentActivity = currentActivity; }
public FirebasePhoneAuthenticationProvider(ICurrentActivity currentActivity) { _currentActivity = currentActivity; }
public ViewModelNavigationService(ICurrentActivity currentActivity) { _currentActivity = currentActivity; _navigationMap = GetNavigationMap(); }
public OAuthAccountHelper(ICurrentActivity context) { _context = context; }