Example #1
0
 public JsonFileFlightEventStorage(string filePath, RandomStringGenerator randomStringGenerator)
 {
     this.filePath = filePath;
     this.randomStringGenerator = randomStringGenerator;
 }
 public JsonFileFlightEventStorage(IOptionsMonitor <EventOptions> optionsAccessor, RandomStringGenerator randomStringGenerator)
 {
     this.filePath = optionsAccessor.CurrentValue.FilePath;
     this.randomStringGenerator = randomStringGenerator;
 }