0
0
mirror of https://github.com/sp-tarkov/loot-dump-processor.git synced 2025-02-13 09:50:44 -05:00
bluextx 047372b6dc Refactored dependency injection and logging infrastructure
The changes include:
- Replaced custom logging with Microsoft.Extensions.Logging
- Added TarkovItemsProvider and ComposedKeyGenerator services
- Simplified configuration models by removing redundant options
- Improved dependency injection in processors and readers
- Removed unused factory methods and simplified service registration
2025-01-11 09:12:45 +03:00

28 lines
882 B
C#

using System.Text.Json.Serialization;
using LootDumpProcessor.Process.Reader.Filters;
using Newtonsoft.Json;
namespace LootDumpProcessor.Model.Config;
public class ReaderConfig
{
[JsonProperty("intakeReaderConfig")]
[JsonPropertyName("intakeReaderConfig")]
public IntakeReaderConfig? IntakeReaderConfig { get; set; }
[JsonProperty("preProcessorConfig")]
[JsonPropertyName("preProcessorConfig")]
public PreProcessorConfig? PreProcessorConfig { get; set; }
[JsonProperty("dumpFilesLocation")]
[JsonPropertyName("dumpFilesLocation")]
public List<string>? DumpFilesLocation { get; set; }
[JsonProperty("thresholdDate")]
[JsonPropertyName("thresholdDate")]
public string? ThresholdDate { get; set; }
[JsonProperty("processSubFolders")]
[JsonPropertyName("processSubFolders")]
public bool ProcessSubFolders { get; set; }
}