BitMiracle.VisualStudioConverter.CSScript.Converter.isFrameworkVersionSupportedByVS2008 C# (CSharp) Method

isFrameworkVersionSupportedByVS2008() private static method

private static isFrameworkVersionSupportedByVS2008 ( string targetFrameworkVersion ) : bool
targetFrameworkVersion string
return bool
        private static bool isFrameworkVersionSupportedByVS2008(string targetFrameworkVersion)
        {
            string[] supportedFrameworkVersionsByVS2008 = { "v1.0", "v1.1", "v2.0", "v3.0", "v3.5" };
            foreach (string supportedFrameworkVersion in supportedFrameworkVersionsByVS2008)
            {
                if (targetFrameworkVersion == supportedFrameworkVersion)
                    return true;
            }

            return false;
        }