Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of <see cref="EventSequenceNumbers"/>
 /// </summary>
 /// <param name="configuration"><see cref="EventSequenceNumbersConfiguration">Configuration</see>"/></param>
 /// <param name="applicationResourceIdentifierConverter"><see cref="IApplicationResourceIdentifierConverter"/> for getting string representation of <see cref="IApplicationResourceIdentifier"/></param>
 /// <param name="files"><see cref="IFiles"/> to work with files</param>
 /// <param name="logger"><see cref="ILogger"/> for logging</param>
 public EventSequenceNumbers(
     EventSequenceNumbersConfiguration configuration,
     IApplicationResourceIdentifierConverter applicationResourceIdentifierConverter,
     IFiles files,
     ILogger logger)
 {
     _configuration = configuration;
     _applicationResourceIdentifierConverter = applicationResourceIdentifierConverter;
     _files = files;
     logger.Information($"Using path : {configuration.Path}");
 }
 /// <summary>
 /// Initializes a new instance of <see cref="EventSequenceNumbers"/>
 /// </summary>
 /// <param name="configuration"><see cref="EventSequenceNumbersConfiguration">Configuration</see>"/></param>
 /// <param name="applicationResourceIdentifierConverter"><see cref="IApplicationResourceIdentifierConverter"/> for getting string representation of <see cref="IApplicationResourceIdentifier"/></param>
 public EventSequenceNumbers(EventSequenceNumbersConfiguration configuration, IApplicationResourceIdentifierConverter applicationResourceIdentifierConverter)
 {
     _configuration = configuration;
     _applicationResourceIdentifierConverter = applicationResourceIdentifierConverter;
 }