Beispiel #1
0
        private string getSupportedBoostFolder(ePCLSupportedBoostVersion pclSupportedBoostVersion)
        {
            switch (pclSupportedBoostVersion)
            {
            case ePCLSupportedBoostVersion.PCLBoostFromSourceSVN:
                return(BoostHelper.BoostFromSourceSVNFolderName);

            case ePCLSupportedBoostVersion.PCLBoost_1_55_0:
                return("boost_1_55_0");
            }

            throw new Exception("Unknown PCL supported Boost version");
        }
Beispiel #2
0
        /// <summary>
        ///     TransformPCLSupportedBoostVersionToString method transforms enum value of PCL supported
        ///     Boost version to string
        /// </summary>
        /// <param name="version">
        ///     Enum value of PCL supported Boost version
        /// </param>
        /// <returns>
        ///     String value of PCL supported Boost version
        /// </returns>
        public static string TransformPCLSupportedBoostVersionToString(ePCLSupportedBoostVersion boostVersion)
        {
            switch (boostVersion)
            {
            case ePCLSupportedBoostVersion.PCLBoost_1_55_0:
                return("1.55.0");

            case ePCLSupportedBoostVersion.PCLBoostFromSourceSVN:
                return("From Source (SVN)");
            }

            throw new Exception("Unknown PCL supported Boost version");
        }