public void Compare_Test() { var First = new FrameworkName(".NETFramework", new Version("3.5")); var Second = new FrameworkName(".netFramework,Version = v3.1"); IsTrue(First.Compare(Second) == true); }
public static bool SameOrLess(this FrameworkName first, FrameworkName second) { return(first.Compare(second) ?? true); }