public ReportTestHelper( BrandCommands brandCommands, BrandQueries brandQueries, IBrandRepository brandRepository, FakeBus bus, OfflineDepositCommands depositCommands, IGameServerIntegrationRepository gameServerIntegrationRepository, PaymentQueries paymentQueries, IPaymentRepository paymentRepository, IPermissionProvider permissionProvider, PlayerCommands playerCommands, PlayerQueries playerQueries, RoleService roleService, ISharedData sharedData, UserService userService, WalletCommands walletWalletCommands ) { _brandCommands = brandCommands; _brandQueries = brandQueries; _brandRepository = brandRepository; _bus = bus; _depositCommands = depositCommands; _paymentQueries = paymentQueries; _paymentRepository = paymentRepository; _permissionProvider = permissionProvider; _gsiRepository = gameServerIntegrationRepository; _playerCommands = playerCommands; _playerQueries = playerQueries; _roleService = roleService; _sharedData = sharedData; _userService = userService; _walletWalletCommands = walletWalletCommands; }
public static T Get <T>(this ISharedData sharedData, string name) where T : ISerializableViaName { if (!sharedData.TryGet(typeof(T), name, out var obj)) { throw new ArgumentException($"There is no shared instance of {typeof(T).Name} with name {name}"); } return((T)obj); }
public ProcessData(ISQLiteFileRepository repository, INetatmoDataHandler netatmoCloud, IOptions <AppSettings> appSettings, ISharedData sharedData) { _repository = repository; _netatmoCloud = netatmoCloud; _appsettings = appSettings.Value; _sharedData = sharedData; StartExecutionLoop(); }
public static ISerializableViaName Get(this ISharedData sharedData, Type type, string name) { if (!sharedData.TryGet(type, name, out var serializableViaName)) { throw new ArgumentException($"There is no shared instance of {type.Name} with name {name}"); } return(serializableViaName); }
public static bool TryGet <T>(this ISharedData sharedData, string name, out T obj) where T : ISerializableViaName { obj = default(T); if (!sharedData.TryGet(typeof(T), name, out var serializableViaName)) { return(false); } obj = (T)serializableViaName; return(true); }
public SettingController(IMemoryCache cache, ISharedData sharedData) { _cache = cache; _sharedData = sharedData; }
public void ShutdownExtension() { CloseWindow(); API = null; SharedData = null; }
public void InitializeExtension(ISimulationAPI api, ISharedData sharedData) { API = api; SharedData = sharedData; }
public static void SetSharedData(ISharedData sharedData) { SharedData = sharedData; }
public UserAccountRepository(ISharedData data) { this.data = data; }
public DD07Rule(ISharedData sharedData) { _sharedData = sharedData; }
public NetatmoDataHandler(IMemoryCache cache, ISharedData sharedData) { _cache = cache; _sharedData = sharedData; }
public SensorDataController(IProcessData processData, ISQLiteFileRepository repository, ISharedData sharedData) { _processData = processData; _repository = repository; _sharedData = sharedData; }
public WeatherController(ISQLiteFileRepository repository, ISharedData sharedData) { _repository = repository; _sharedData = sharedData; }