diff --git a/src/Umbraco.Core/Xml/XPathVariable.cs b/src/Umbraco.Core/Xml/XPathVariable.cs index 348a2ee3ea..d5ecb928de 100644 --- a/src/Umbraco.Core/Xml/XPathVariable.cs +++ b/src/Umbraco.Core/Xml/XPathVariable.cs @@ -2,11 +2,27 @@ namespace Umbraco.Core.Xml { - internal class XPathVariable + /// + /// Represents a variable in an XPath query. + /// + /// The name must be foo in the constructor and $foo in the XPath query. + public class XPathVariable { - public string Name { get; set; } - public string Value { get; set; } + /// + /// 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;