Opc.Ua.ServerTest.TranslatePathTest.GetRelativePath C# (CSharp) Method

GetRelativePath() private method

Formats the relative path of the string.
private GetRelativePath ( IList path ) : string
path IList
return string
        private string GetRelativePath(IList<RelativePathElement> path)
        {
            StringBuilder buffer = new StringBuilder();

            for (int ii = 0; ii < path.Count; ii++)
            {
                buffer.AppendFormat("/{0}", path[ii].TargetName);
            }

            return buffer.ToString();
        }