예제 #1
0
        public SoapTypeSerializationSource(Type type, SoapAttributeOverrides attributeOverrides, string namspace, Type[] includedTypes)
            : base(namspace, includedTypes)
        {
            if (attributeOverrides != null)
            {
                StringBuilder sb = new StringBuilder();
                attributeOverrides.AddKeyHash(sb);
                attributeOverridesHash = sb.ToString();
            }

            this.type = type;
        }
        public SoapReflectionImporter(SoapAttributeOverrides attributeOverrides, string defaultNamespace)
        {
            if (defaultNamespace == null)
            {
                initialDefaultNamespace = String.Empty;
            }
            else
            {
                initialDefaultNamespace = defaultNamespace;
            }

            if (attributeOverrides == null)
            {
                this.attributeOverrides = new SoapAttributeOverrides();
            }
            else
            {
                this.attributeOverrides = attributeOverrides;
            }
        }
 public SoapReflectionImporter(SoapAttributeOverrides attributeOverrides) : this(attributeOverrides, null)
 {
 }