public AutoMovePlugin(IMessageBus messageBus, IAutoMoveRepository autoMoveRepository, IRuleFinder ruleFinder, IParameterValueReplacer parameterValueReplacer) { if (messageBus == null) { throw new ArgumentNullException("messageBus"); } if (autoMoveRepository == null) { throw new ArgumentNullException("autoMoveRepository"); } if (ruleFinder == null) { throw new ArgumentNullException("ruleFinder"); } if (parameterValueReplacer == null) { throw new ArgumentNullException("parameterValueReplacer"); } _messageBus = messageBus; _autoMoveRepository = autoMoveRepository; _ruleFinder = ruleFinder; _parameterValueReplacer = parameterValueReplacer; }
public AutoMovePlugin(IMessageBus messageBus, IAutoMoveRepository autoMoveRepository, IRuleFinder ruleFinder, IParameterValueReplacer parameterValueReplacer) { if (messageBus == null) throw new ArgumentNullException("messageBus"); if (autoMoveRepository == null) throw new ArgumentNullException("autoMoveRepository"); if (ruleFinder == null) throw new ArgumentNullException("ruleFinder"); if (parameterValueReplacer == null) throw new ArgumentNullException("parameterValueReplacer"); _messageBus = messageBus; _autoMoveRepository = autoMoveRepository; _ruleFinder = ruleFinder; _parameterValueReplacer = parameterValueReplacer; }