コード例 #1
0
 public static bool Test(Xml.Version server, Xml.Version client)
 {
     if (!TestMajor(server, client))
     {
         return(false);
     }
     if (!TestMinor(server, client))
     {
         return(false);
     }
     if (!TestPatch(server, client))
     {
         return(false);
     }
     return(TestRevision(server, client));
 }
コード例 #2
0
 public static bool TestPatch(Xml.Version server, Xml.Version client)
 {
     return(server.Patch <= client.Patch);
 }
コード例 #3
0
 public static bool TestRevision(Xml.Version server, Xml.Version client)
 {
     return(server.Revision <= client.Revision);
 }
コード例 #4
0
 public static bool TestMinor(Xml.Version server, Xml.Version client)
 {
     return(server.Minor <= client.Minor);
 }