// source: mvpxml.codeplex.com namespace Umbraco.Core.Xml { /// /// Represents a variable in an XPath query. /// /// The name must be foo in the constructor and $foo in the XPath query. public class XPathVariable { /// /// Gets or sets the name of the variable. /// public string Name { get; private set; } /// /// Gets or sets the value of the variable. /// public string Value { get; private set; } /// /// Initializes a new instance of the class with a name and a value. /// /// /// public XPathVariable(string name, string value) { Name = name; Value = value; } } }