public CommerceServiceHost(ICommerceServiceContainer container,
			Type serviceType, params Uri[] baseAddresses)
			: base(serviceType, baseAddresses)
		{
			if (container == null)
			{
				throw new ArgumentNullException("container");
			}

			var contracts = this.ImplementedContracts.Values;
			foreach (var c in contracts)
			{
				var instanceProvider =
					new CommerceInstanceProvider(
						container);
				c.Behaviors.Add(instanceProvider);
			}
		}
        public CommerceServiceHost(ICommerceServiceContainer container,
                                   Type serviceType, params Uri[] baseAddresses)
            : base(serviceType, baseAddresses)
        {
            if (container == null)
            {
                throw new ArgumentNullException("container");
            }

            var contracts = this.ImplementedContracts.Values;

            foreach (var c in contracts)
            {
                var instanceProvider =
                    new CommerceInstanceProvider(
                        container);
                c.Behaviors.Add(instanceProvider);
            }
        }