public bool Resolve(IVariableStore variables, StringVariableSource source, out string result) { if (source.Type == VariableSourceType.Reference) { return(Resolve(variables, source.Reference, out result)); } result = source.Value; return(true); }