public PacketProcessActions(ISequenceRepository sequenceNumberRepository,
                                    IPacketEncoderRepository encoderRepository,
                                    IPacketEncoderService encoderService,
                                    IPacketSequenceService sequenceService,
                                    ILoggerProvider loggerProvider)
        {
            _sequenceRepository = sequenceNumberRepository;
            _encoderRepository  = encoderRepository;

            _encoderService  = encoderService;
            _sequenceService = sequenceService;
            _loggerProvider  = loggerProvider;
        }
예제 #2
0
        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())));
        }
예제 #3
0
 public EOPacketManager(EOMarketPlugin plugin)
 {
     _packetEncoderRepository = new PacketEncoderRepository();
     _packetProcessActions    = new PacketProcessActions(new SequenceRepository(), _packetEncoderRepository, new PacketEncoderService(), new PacketSequenceService());
     _numberEncoderService    = new NumberEncoderService();
 }