using FileFlows.Plugin;
namespace FileFlows.BasicNodes.Templating;
///
/// Special templating node for the output path
///
public class OutputPath : TemplatingNode
{
///
/// Gets the number of inputs
///
public override int Inputs => 1;
///
/// Gets the icon
///
public override string Icon => "fas fa-folder";
///
/// Gets or sets the URL to the help page
///
public override string HelpUrl => "https://fileflows.com/docs/plugins/basic-nodes/templating/output-path";
///
/// Gets or sets the flow element type
///
public override FlowElementType Type => FlowElementType.Logic;
///
/// Executes the flow element
///
/// the node paramters
/// the output
public override int Execute(NodeParameters args)
{
args.Logger?.ELog("This templating flow element cannot be used in an executed flow");
return -1;
}
}