View Source
Class MacroNavigator.MacroParameter
Inheritance
System.Object
Assembly: Umbraco.Core.dll
Syntax
public class MacroParameter : object
Constructors
View Source
MacroParameter(String, String)
Declaration
public MacroParameter(string name, string value)
Parameters
| Type |
Name |
Description |
| System.String |
name |
|
| System.String |
value |
|
View Source
MacroParameter(String, XPathNavigator, Int32, Boolean, IEnumerable<KeyValuePair<String, String>>)
Declaration
public MacroParameter(string name, XPathNavigator navigator, int maxNavigatorDepth = null, bool wrapNavigatorInNodes = false, IEnumerable<KeyValuePair<string, string>> attributes = null)
Parameters
| Type |
Name |
Description |
| System.String |
name |
|
| XPathNavigator |
navigator |
|
| System.Int32 |
maxNavigatorDepth |
|
| System.Boolean |
wrapNavigatorInNodes |
|
| IEnumerable<KeyValuePair<System.String, System.String>> |
attributes |
|
Properties
View Source
Attributes
Declaration
public KeyValuePair<string, string>[] Attributes { get; }
Property Value
| Type |
Description |
| KeyValuePair<System.String, System.String>[] |
|
View Source
MaxNavigatorDepth
Declaration
public int MaxNavigatorDepth { get; }
Property Value
| Type |
Description |
| System.Int32 |
|
View Source
Name
Declaration
public string Name { get; }
Property Value
| Type |
Description |
| System.String |
|
View Source
NavigatorValue
Declaration
public XPathNavigator NavigatorValue { get; }
Property Value
| Type |
Description |
| XPathNavigator |
|
View Source
StringValue
Declaration
public string StringValue { get; }
Property Value
| Type |
Description |
| System.String |
|
View Source
WrapNavigatorInNodes
Declaration
public bool WrapNavigatorInNodes { get; }
Property Value
| Type |
Description |
| System.Boolean |
|