Example #1
0
        //==========================================================================================
        // Methods
        //==========================================================================================

        /// <summary>
        /// Combines two registry paths.
        /// </summary>
        /// <param name="path1">The first path to combine.</param>
        /// <param name="path2">The second path to combine.</param>
        /// <returns>The concatenation of the first path with the second, delimeted with a '\'.</returns>
        protected string RegistryPathCombine(string path1, string path2)
        {
            Tracer.VerifyStringArgument(path1, "path1");
            Tracer.VerifyStringArgument(path2, "path2");

            return(PackageUtility.EnsureTrailingChar(path1, '\\') + path2);
        }