Class JoinPath
- Namespace
- Albatross.Expression.Prefix
- Assembly
- Albatross.Expression.dll
Prefix expression that combines multiple path segments into a single file system path. Takes one or more string parameters and joins them using the appropriate path separator.
public class JoinPath : PrefixExpression, IPrefixExpression, IExpression, IToken
- Inheritance
-
JoinPath
- Implements
- Inherited Members
- Extension Methods
Constructors
JoinPath()
Initializes a new instance of the JoinPath class with name "JoinPath" and variable parameter count (minimum 1).
public JoinPath()
Methods
Run(List<object>)
Combines multiple path segments into a single path string using the platform-appropriate path separator. All operands are converted to strings before joining.
protected override object Run(List<object> operands)
Parameters
Returns
- object
A combined file system path string with proper separators for the current platform.