Exemplo n.º 1
0
        internal static ServiceCollection Create(System.Web.Services.Description.ServiceCollection collection, TinyXdto.XdtoFactory factory)
        {
            IList <Service> list = new List <Service>();

            foreach (System.Web.Services.Description.Service service in collection)
            {
                list.Add(new Service(service, factory));
            }
            return(new ServiceCollection(list));
        }
		public void InitializeServiceCollection ()
		{
			// workaround for internal constructor
			ServiceDescription desc = new ServiceDescription ();
			sc = desc.Services;
		}
Exemplo n.º 3
0
		public ServiceDescription ()
		{
			bindings = new BindingCollection (this);
			extensions = new ServiceDescriptionFormatExtensionCollection (this);
			imports = new ImportCollection (this);
			messages = new MessageCollection (this);
#if !NET_2_0
//			name = String.Empty;		
#endif
			portTypes = new PortTypeCollection (this);

			serviceDescriptions = null;
			services = new ServiceCollection (this);
			targetNamespace = null;
			types = new Types ();
		}
Exemplo n.º 4
0
		public ServiceDescription ()
		{
			bindings = new BindingCollection (this);
			extensions = new ServiceDescriptionFormatExtensionCollection (this);
			imports = new ImportCollection (this);
			messages = new MessageCollection (this);
			portTypes = new PortTypeCollection (this);

			serviceDescriptions = null;
			services = new ServiceCollection (this);
			targetNamespace = null;
			types = new Types ();
		}