public ArmFoxCommand(IPacketsProcessor packetsProcessor) { _packetsProcessor = packetsProcessor; _packetsProcessor.SetOnArmFoxResponse(OnArmFoxResponse); }
public ArmFoxCommand(IPacketsProcessor packetsProcessor) { this.packetsProcessor = packetsProcessor ?? throw new ArgumentNullException(nameof(packetsProcessor)); packetsProcessor.SetOnArmFoxResponse(OnArmFoxResponse); }