C# Class Dev2.Core.Tests.XML.XmlResource

Utility class for retrieving embedded XML resources. The target XML files must be in the same folder as this class with their build action set to "Embedded Resource".
显示文件 Open project: Warewolf-ESB/Warewolf

Public Methods

Method Description
Fetch ( string name ) : System.Xml.Linq.XElement

Fetches the contents of the embedded XML file with the specified name.

Method Details

Fetch() public static method

Fetches the contents of the embedded XML file with the specified name.
public static Fetch ( string name ) : System.Xml.Linq.XElement
name string The name of the XML file excluding extension.
return System.Xml.Linq.XElement