internal URTMethod(string name, string soapAction, string methodAttributes, WsdlParser.URTComplexType complexType) { this._methodName = name; this._soapAction = soapAction; this._methodType = null; this._complexType = complexType; name.IndexOf('.'); this._methodFlags = System.Runtime.Remoting.MetadataServices.WsdlParser.MethodFlags.None; if ((methodAttributes != null) && (methodAttributes.Length > 0)) { foreach (string str in methodAttributes.Split(new char[] { ' ' })) { switch (str) { case "virtual": this._methodFlags |= System.Runtime.Remoting.MetadataServices.WsdlParser.MethodFlags.Virtual; break; case "new": this._methodFlags |= System.Runtime.Remoting.MetadataServices.WsdlParser.MethodFlags.New; break; case "override": this._methodFlags |= System.Runtime.Remoting.MetadataServices.WsdlParser.MethodFlags.Override; break; case "public": this._methodFlags |= System.Runtime.Remoting.MetadataServices.WsdlParser.MethodFlags.Public; break; case "protected": this._methodFlags |= System.Runtime.Remoting.MetadataServices.WsdlParser.MethodFlags.Protected; break; case "internal": this._methodFlags |= System.Runtime.Remoting.MetadataServices.WsdlParser.MethodFlags.Internal; break; } } } }
internal URTComplexType(string name, string urlNS, string ns, string encodedNS, SchemaBlockType blockDefault, bool bSUDSType, bool bAnonymous, WsdlParser parser, WsdlParser.URTNamespace xns) : base(name, urlNS, ns, encodedNS) { this._bprint = true; this._baseTypeName = null; this._baseTypeXmlNS = null; this._baseType = null; this._connectURLs = null; this._bStruct = !bSUDSType; this._blockType = blockDefault; this._bSUDSType = bSUDSType; this._bAnonymous = bAnonymous; this._fieldString = null; this._fields = new ArrayList(); this._methods = new ArrayList(); this._implIFaces = new ArrayList(); this._implIFaceNames = new ArrayList(); this._sudsType = System.Runtime.Remoting.MetadataServices.SUDSType.None; this._parser = parser; int index = name.IndexOf('+'); if (index > 0) { string typeName = parser.Atomize(name.Substring(0, index)); if (xns.LookupComplexType(typeName) == null) { WsdlParser.URTComplexType type = new WsdlParser.URTComplexType(typeName, urlNS, ns, encodedNS, blockDefault, bSUDSType, bAnonymous, parser, xns); xns.AddComplexType(type); } } if ((xns.UrtType == UrtType.Interop) && (name.LastIndexOf('.') > -1)) { this._wireType = name; base.Name = name.Replace(".", "_"); base.SearchName = name; } }