SenseNet.ContentRepository.Storage.RepositoryPath.Combine C# (CSharp) Method

Combine() public static method

public static Combine ( ) : string
return string
        public static string Combine(params string[] pathList)
        {
            if (pathList == null)
				throw new ArgumentNullException("pathList");

            var length = pathList.Length;
            if (length == 0)
                return string.Empty;

            var index = 1;
            var path = pathList[0];
            while (index < length)
            {
                path = Combine(path, pathList[index]);
                index++;
            }

            return path;
        }

Same methods

RepositoryPath::Combine ( string path1, string path2 ) : string