public AssetConditionService( IAssetConditionLayerRepository assetConditionLayerRepository, IAssetDefaultConditionRepository assetDefaultConditionRepository, IAssetDefaultConditionLayerRepository assetDefaultConditionLayerRepository, IAssetConditionLayerLinkClientRepository assetConditionLayerLinkClientRepository, IAssetsForClientCacheManager cacheManager, ICachedAssetConditionsService cachedAssetConditionsService) { _assetConditionLayerRepository = assetConditionLayerRepository; _assetDefaultConditionRepository = assetDefaultConditionRepository; _assetDefaultConditionLayerRepository = assetDefaultConditionLayerRepository; _assetConditionLayerLinkClientRepository = assetConditionLayerLinkClientRepository; _cacheManager = cacheManager; _cachedAssetConditionsService = cachedAssetConditionsService; }
public AssetConditionService( IAssetConditionLayerRepository assetConditionLayerRepository, IAssetDefaultConditionRepository assetDefaultConditionRepository, IAssetDefaultConditionLayerRepository assetDefaultConditionLayerRepository, IAssetConditionLayerLinkClientRepository assetConditionLayerLinkClientRepository, IAssetsForClientCacheManager cacheManager, ICachedAssetConditionsService cachedAssetConditionsService, IMyNoSqlWriterWrapper <AssetConditionNoSql> myNoSqlWriter, int maxClientsInNoSqlCache) { _assetConditionLayerRepository = assetConditionLayerRepository; _assetDefaultConditionRepository = assetDefaultConditionRepository; _assetDefaultConditionLayerRepository = assetDefaultConditionLayerRepository; _assetConditionLayerLinkClientRepository = assetConditionLayerLinkClientRepository; _cacheManager = cacheManager; _cachedAssetConditionsService = cachedAssetConditionsService; _myNoSqlWriter = myNoSqlWriter; _maxClientsInNoSqlCache = maxClientsInNoSqlCache; }