Example #1
0
        public AppSettingsService(ISerializationService serializationService,
                                  IFileSystem fileSystem)
        {
            serializationService.CheckWhetherArgumentIsNull(nameof(serializationService));
            fileSystem.CheckWhetherArgumentIsNull(nameof(fileSystem));

            this.serializationService = serializationService;
            this.fileSystem           = fileSystem;

            this.ReadSettings();
        }
Example #2
0
        public FileSystemService(IFileSystem fileSystem)
        {
            fileSystem.CheckWhetherArgumentIsNull(nameof(fileSystem));

            this.fileSystem = fileSystem;
        }