private CompatibleFramework GetSubsetCompatFramework(FrameworkName frameworkName)
        {
            CompatibleFramework fullCompatFramework = this.GetFullCompatFramework(frameworkName);

            fullCompatFramework.Profile = frameworkName.Profile;
            return(fullCompatFramework);
        }
 internal CompatibleFrameworkCollection(CompatibleFramework[] compatibleFrameworks)
 {
     if (compatibleFrameworks != null)
     {
         this.list.AddRange(compatibleFrameworks);
     }
 }
示例#3
0
        private static CompatibleFramework GetSubsetCompatFramework(FrameworkNameVersioning frameworkName)
        {
            CompatibleFramework compat = GetFullCompatFramework(frameworkName);

            compat.Profile = frameworkName.Profile;

            return(compat);
        }
示例#4
0
        private static CompatibleFramework GetFullCompatFramework(FrameworkNameVersioning frameworkName)
        {
            var compat = new CompatibleFramework
            {
                Version          = frameworkName.Version.ToString(),
                SupportedRuntime = PatchCLRVersion(Util.GetClrVersion(frameworkName.Version.ToString())),
                Profile          = "Full"
            };

            return(compat);
        }
示例#5
0
        private CompatibleFramework GetFullCompatFramework(FrameworkNameVersioning frameworkName)
        {
            CompatibleFramework compat = new CompatibleFramework();

            compat.Version = frameworkName.Version.ToString();

            compat.SupportedRuntime = PatchCLRVersion(Util.GetClrVersion(frameworkName.Version.ToString()));
            compat.Profile          = "Full";

            return(compat);
        }
 public void Add(CompatibleFramework compatibleFramework)
 {
     _list.Add(compatibleFramework);
 }
 internal CompatibleFrameworkCollection(CompatibleFramework[] compatibleFrameworks)
 {
     if (compatibleFrameworks == null)
         return;
     _list.AddRange(compatibleFrameworks);
 }
 public void Add(CompatibleFramework compatibleFramework)
 {
     _list.Add(compatibleFramework);
 }
示例#9
0
        private CompatibleFramework GetFullCompatFramework(FrameworkNameVersioning frameworkName)
        {
            CompatibleFramework compat = new CompatibleFramework();
            compat.Version = frameworkName.Version.ToString();

            compat.SupportedRuntime = PatchCLRVersion(Util.GetClrVersion(frameworkName.Version.ToString()));
            compat.Profile = "Full";

            return compat;
        }