public Startup(ICimParser cimParser,
                IAssetSchemaCreator assetSchemaCreator,
                ILogger <Startup> logger,
                IJsonFileWriter jsonFileWriter)
 {
     _cimParser          = cimParser;
     _assetSchemaCreator = assetSchemaCreator;
     _logger             = logger;
     _jsonFileWriter     = jsonFileWriter;
 }
 public JsonFileRepository(
     IFileFactory fileFactory,
     IJsonFileReader jsonFileReader,
     IJsonFileWriter jsonFileWriter,
     string storagePath)
 {
     this.fileFactory    = fileFactory;
     this.jsonFileReader = jsonFileReader;
     this.jsonFileWriter = jsonFileWriter;
     this.storagePath    = storagePath;
 }
Exemple #3
0
 public TrelloRepository(
     string location,
     IFileFactory fileFactory,
     IJsonFileReader jsonFileReader,
     IJsonFileWriter jsonFileWriter)
 {
     this.Location       = location;
     this.fileFactory    = fileFactory;
     this.jsonFileReader = jsonFileReader;
     this.jsonFileWriter = jsonFileWriter;
 }
Exemple #4
0
 public ConversationUsersRepository(
     IFileFactory fileFactory,
     IJsonFileReader jsonFileReader,
     IJsonFileWriter jsonFileWriter,
     IConsole console,
     WhatsAppDataSettings settings)
 {
     this.fileFactory    = fileFactory;
     this.jsonFileReader = jsonFileReader;
     this.jsonFileWriter = jsonFileWriter;
     this.console        = console;
     this.settings       = settings;
 }