ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/gr2lib/trunk/gr2lib_UnitTest/Program.cs
(Generate patch)

Comparing trunk/gr2lib_UnitTest/Program.cs (file contents):
Revision 17 by william, Wed Jul 14 09:24:48 2010 UTC vs.
Revision 28 by william, Wed Jul 14 09:55:24 2010 UTC

--- trunk/gr2lib_UnitTest/Program.cs	2010/07/14 09:24:48	17
+++ trunk/gr2lib_UnitTest/Program.cs	2010/07/14 09:55:24	28
@@ -11,19 +11,25 @@ namespace gr2lib_UnitTest
     {
         static void Main(string[] args)
         {
+            // Setup access to check loaded Granny2 API Version
             Granny2APIVersion _version = new Granny2APIVersion();
 
+            // Check if the Loaded API Version Matches
             if (!_version.APIVersionsMatch)
             {
+                // the loaded version does not match
                 Console.WriteLine("Warning:\n" +
                     "\t Loaded Granny2 DLL Version: " + _version.APIVersion.Version + "\n" +
                     "\t Expected Version: " + _version.ExpectedAPIVersion.Version);
+                // return from void to exit application
                 return;
             }
             else
             {
+                // the loaded version matches
                 Console.WriteLine("Loaded granny2.dll: " + _version.APIVersion.Version);
             }
+            // if we have arrived at this point, the loaded api version matches the what the library was built against
         }
     }
 }