Пример #1
0
        public UddiTModel(tModel tModel)
        {
            if (tModel == null)
            {
                throw new ArgumentNullException("tModel");
            }

            this.tModel      = tModel;
            this.categoryBag = new UddiCategoryBag(tModel.categoryBag);
        }
Пример #2
0
        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;
        }