public UddiTModel(tModel tModel) { if (tModel == null) { throw new ArgumentNullException("tModel"); } this.tModel = tModel; this.categoryBag = new UddiCategoryBag(tModel.categoryBag); }
public UddiService(businessService service, List <UddiBinding> uddiBindings) { if (service == null) { throw new ArgumentNullException("service"); } if (uddiBindings == null) { throw new ArgumentNullException("uddiBindings"); } this.service = service; this.categoryBag = new UddiCategoryBag(service.categoryBag); bindings = uddiBindings; }