public PacketProcessActions(ISequenceRepository sequenceNumberRepository, IPacketEncoderRepository encoderRepository, IPacketEncoderService encoderService, IPacketSequenceService sequenceService, ILoggerProvider loggerProvider) { _sequenceRepository = sequenceNumberRepository; _encoderRepository = encoderRepository; _encoderService = encoderService; _sequenceService = sequenceService; _loggerProvider = loggerProvider; }
public MainForm() { InitializeComponent(); cmbOutputFmt_SelectedIndexChanged(null, null); _packetEncoderRepository = new PacketEncoderRepository(); _packetProcessActions = new PacketProcessActions(new SequenceRepository(), _packetEncoderRepository, new PacketEncoderService(new NumberEncoderService()), new PacketSequenceService(), new LoggerProvider(new LoggerFactory(new ConfigurationRepository()))); }
public EOPacketManager(EOMarketPlugin plugin) { _packetEncoderRepository = new PacketEncoderRepository(); _packetProcessActions = new PacketProcessActions(new SequenceRepository(), _packetEncoderRepository, new PacketEncoderService(), new PacketSequenceService()); _numberEncoderService = new NumberEncoderService(); }