public void SetOutput(string name, string value, out string reference) { ArgUtil.NotNullOrEmpty(name, nameof(name)); if (String.IsNullOrEmpty(ContextName)) { reference = null; return; } // todo: restrict multiline? StepsContext.SetOutput(ScopeName, ContextName, name, value, out reference); }
public void SetOutput(string name, string value, out string reference) { ArgUtil.NotNullOrEmpty(name, nameof(name)); // if the ContextName follows the __GUID format which is set as the default value for ContextName if null for Composite Actions. if (String.IsNullOrEmpty(ContextName) || _generatedContextNamePattern.IsMatch(ContextName)) { reference = null; return; } // todo: restrict multiline? StepsContext.SetOutput(ScopeName, ContextName, name, value, out reference); }