public WcfProductManagementAgent(IProductChannelFactory factory, IClientContractMapper mapper) { if (factory == null) { throw new ArgumentNullException("factory"); } if (mapper == null) { throw new ArgumentNullException("mapper"); } this.factory = factory; this.mapper = mapper; }