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

GetNotNull() private méthode

private GetNotNull ( Mono.Xml.SmallXmlParser attrs, string name ) : string
attrs Mono.Xml.SmallXmlParser
name string
Résultat string
		string GetNotNull (SmallXmlParser.IAttrList attrs, string name)
		{
			string value = attrs.GetValue (name);
			if (value == null || value == "") 
				throw new RemotingException (name + " attribute is required");
			return value;
		}