Wiki

Changes between Version 8 and Version 9 of Contracts

Show
Ignore:
Timestamp:
03/17/12 18:30:26 (13 years ago)
Author:
Charles
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Contracts

    v8 v9  
    4040within contracts: 
    4141 
    42     * '''result''' - available in '''require''' and '''ensure''', 
     42    * '''result''' - available in '''ensure''', 
    4343      provides a fixed name for the return value of any method or property 
    4444 
    45     * '''old'''    -  avail in '''ensure''',  
    46       provides an object reference that captures the original state of the object before the method/property executed.  
     45    * '''old'''    -  available in '''ensure''',  
     46      provides an object reference that captures the original state of the expression before the method/property executed.  
    4747      Use to validate a state change. 
    4848