public MemberAddressUpdatedHandler(IMapCoordinateService mapCoordinateService, IRepository <Member> memberRepository, IAppLogger <MemberAddressUpdatedHandler> logger, IJsonParserService jsonParserService) { _mapCoordinateService = mapCoordinateService; _memberRepository = memberRepository; _logger = logger; _jsonParserService = jsonParserService; }
public MainViewModel() { StoredRecentProjectsService = new StoredRecentProjectsService(); _registryService = new RegistryService(); _cryptoService = new CryptoService(_registryService); _fileService = new FileService(); _jsonParserService = new JsonParserService(); _projectManager = new ProjectManager(); EventManager = new DomainEventManager(); EventManager.OnSelectedUseCase += EventManager_OnSelectedUseCase; EventManager.OnGenericFormInputRequested += EventManager_OnGenericFormInputRequested; NewActions = _projectManager.ActionManager.Actions.OrderBy(k => k.Name).ToList(); SetRecentProjects(); InitializeCommands(); InitializeMapper(); NewProject(); }
public BaseStoredJsonData(IJsonParserService jsonParserService, IFileService fileService, string folderName, string fileNameFormat) { if (string.IsNullOrEmpty(folderName)) { throw new ArgumentException("message", nameof(folderName)); } if (string.IsNullOrEmpty(fileNameFormat)) { throw new ArgumentException("message", nameof(fileNameFormat)); } JsonParserService = jsonParserService ?? throw new ArgumentNullException(nameof(jsonParserService)); FileService = fileService ?? throw new ArgumentNullException(nameof(fileService)); FolderName = folderName; FileNameFormat = fileNameFormat; CheckIfExistsFolder(); CheckIfExistsData(); }
public CreateMainPropertiesWorkflow() { JsonParserService = new JsonParserService(); }
public ExecuteRepositoryMethodSentence() { JsonParserService = new JsonParserService(); }
public ExecuteUseCaseSentence() { JsonParserService = new JsonParserService(); }
public StoredMetadataSchemaService(IJsonParserService jsonParserService, IFileService fileService) : base(jsonParserService, fileService, DataFolder, DataFile) { }
public StoredGenericValuesService(IJsonParserService jsonParserService, IFileService fileService) : base(jsonParserService, fileService, DataFolder, DataFileBase) { }
public JsonParserServiceTests() { this._jsonParserService = new JsonParserService(this._logger.Object); }