System.Runtime.Remoting.RemotingConfiguration.ConfigHandler.ReadInteropXml C# (CSharp) Méthode

ReadInteropXml() private méthode

private ReadInteropXml ( Mono.Xml.SmallXmlParser attrs, bool isElement ) : void
attrs Mono.Xml.SmallXmlParser
isElement bool
Résultat 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);
		}