/// <summary> /// Initializes a new instance of <see cref="AllImprovables"/> /// </summary> public AllImprovables(ITenantAwareFileSystem fileSystem, ISerializer serializer) { _fileSystem = fileSystem; if (_fileSystem.Exists(_improvablesFile)) { var json = _fileSystem.ReadAllText(_improvablesFile); Query = serializer.FromJson <IEnumerable <ImprovableForListing> >(json).AsQueryable(); } else { Query = new ImprovableForListing[0].AsQueryable(); } }
public NotificationChannelManager(ITenantAwareFileSystem fileSystem, ISerializer serializer) { _serializer = serializer; _fileSystem = fileSystem; }
/// <summary> /// /// </summary> /// <param name="serializer"><see cref="ISerializer">Json Serializer</see></param> public StepsForImprovement(ITenantAwareFileSystem tenantAwareFilsSystem, ISerializer serializer) { _tenantAwareFileSystem = tenantAwareFilsSystem; _serializer = serializer; }
/// <summary> /// /// </summary> /// <param name="serializer"></param> public StepResultsForStep(ITenantAwareFileSystem fileSystem, ISerializer serializer) { _serializer = serializer; _fileSystem = fileSystem; }
public RawLogForStep(ITenantAwareFileSystem fileSystem) { _fileSystem = fileSystem; }
public DeploymentManager(ITenantAwareFileSystem fileSystem, ISerializer serializer) { _serializer = serializer; _fileSystem = fileSystem; }
public ImprovementsForImprovable(ITenantAwareFileSystem fileSystem) { _fileSystem = fileSystem; }
public ImprovableManager(ITenantAwareFileSystem fileSystem, ISerializer serializer, IRecipeManager recipeManager) { _serializer = serializer; _recipeManager = recipeManager; _fileSystem = fileSystem; }