using FileFlows.Plugin; namespace FileFlows.BasicNodes.SystemElements; /// /// A flow to determine if this is running on Docker or not /// public class IsDocker : Node { /// public override int Inputs => 1; /// public override int Outputs => 2; /// public override FlowElementType Type => FlowElementType.Logic; /// public override string Group => "System"; /// public override string Icon => "fab fa-docker"; /// public override string HelpUrl => "https://fileflows.com/docs/plugins/basic-nodes/system/is-docker"; /// public override string CustomColor => "#2481e4"; /// public override int Execute(NodeParameters args) => args.IsDocker ? 1 : 2; }