System.Runtime.Remoting.RemotingConfiguration.ConfigHandler.ReadInteropXml C# (CSharp) Method

ReadInteropXml() private method

private ReadInteropXml ( Mono.Xml.SmallXmlParser attrs, bool isElement ) : void
attrs Mono.Xml.SmallXmlParser
isElement bool
return void
		void ReadInteropXml (SmallXmlParser.IAttrList attrs, bool isElement)
		{
			Type t = Type.GetType (GetNotNull (attrs, "clr"));
			string[] xmlName = GetNotNull (attrs, "xml").Split (',');
			string localName = xmlName [0].Trim ();
			string ns = xmlName.Length > 0 ? xmlName[1].Trim() : null;
			
			if (isElement) SoapServices.RegisterInteropXmlElement (localName, ns, t);
			else SoapServices.RegisterInteropXmlType (localName, ns, t);
		}