public static void Init(ILogger logger, IInternetChecker internetChecker, IConfigsLoader configsLoader, INotification notification, IAdjustHelper adjustHelper, IAppTransparencyTracker att)
 {
     Logger          = logger;
     InternetChecker = internetChecker;
     ConfigsLoader   = configsLoader;
     Notification    = notification;
     AdjustHelper    = adjustHelper;
     Att             = att;
 }
 static GlobalFacade()
 {
     Logger          = new DummyLogger();
     InternetChecker = new DummyInternetChecker();
     ConfigsLoader   = new DummyConfigLoader();
     Notification    = new DummyNotificationsClient();
     AdjustHelper    = new DummyAdjustHelper();
     Att             = new DummyAppTrackingTransparency();
 }
        public static void Init(IGlobalFactory factory, MonoBehaviour monoBehaviour)
        {
            AdjustHelper    = factory.CreateAdjustHelper();
            Logger          = factory.CreateLogger();
            InternetChecker = factory.CreateInternetChecker();
            ConfigsLoader   = factory.CreateConfigLoader();
            Notification    = factory.CreateNotifications();
            Att             = factory.CreateAppTransparencyTracker();

            MonoBehaviour = monoBehaviour;
        }
 public ChunkerController(
     IConfigsLoader configurationService,
     IStorageFactoryFactory storageFactoryFactory,
     ILoggerService loggerService,
     IChunkerService chunkerService,
     IParserService parserService)
 {
     _configurationService  = configurationService;
     _storageFactoryFactory = storageFactoryFactory;
     _loggerService         = loggerService;
     _chunkerService        = chunkerService;
     _parserService         = parserService;
 }
Example #5
0
 public BatchTestingController(
     IConfigsLoader configurationService,
     IStorageFactoryFactory storageFactoryFactory,
     ILoggerService loggerService,
     ICustomTextPredictionService CustomTextPredictionService,
     ICustomTextAuthoringService customTextAuthoringService,
     IBatchTestingService batchTestingService)
 {
     _configurationService        = configurationService;
     _storageFactoryFactory       = storageFactoryFactory;
     _loggerService               = loggerService;
     _customTextPredictionService = CustomTextPredictionService;
     _customTextAuthoringService  = customTextAuthoringService;
     _batchTestingService         = batchTestingService;
 }
Example #6
0
 public PredictionController(
     IConfigsLoader configurationService,
     IStorageFactoryFactory storageFactoryFactory,
     IParserPoolManager parserPoolManager,
     ILoggerService loggerService,
     IChunkerService chunkerService,
     ITextAnalyticsService textAnalyticsPredictionService,
     ICustomTextPredictionService CustomTextPredictionService,
     IConcatenationService concatenationService)
 {
     _configurationService           = configurationService;
     _storageFactoryFactory          = storageFactoryFactory;
     _parserPoolManager              = parserPoolManager;
     _loggerService                  = loggerService;
     _chunkerService                 = chunkerService;
     _textAnalyticsPredictionService = textAnalyticsPredictionService;
     _customTextPredictionService    = CustomTextPredictionService;
     _concatenationService           = concatenationService;
 }