AIT.Tools.VisualStudioTextTransform.VisualStudioTextTemplateHost.ReplaceProjectVar C# (CSharp) Метод

ReplaceProjectVar() приватный Метод

private ReplaceProjectVar ( string path, string variable ) : IEnumerable
path string
variable string
Результат IEnumerable
        private IEnumerable<string> ReplaceProjectVar(string path, string variable)
        {
            foreach (var resolvedVariable in _resolver.ResolveVariable(variable))
            {
                yield return path.Replace(string.Format(CultureInfo.InvariantCulture, "$({0})", variable), resolvedVariable);
            }
        }