Code Contracts
This course provides an introduction to Code Contracts in the Microsoft .NET Framework.
Authored by:
John Sonmez
Duration: 1h 51m
Level: Intermediate
Released: 7/17/2012
Features:
Duration: 1h 51m
Level: Intermediate
Released: 7/17/2012
Features:
Course Rating:
You are currently not signed in. Please sign in to access subscriber-only content.
Currently using: {{getCurrentPlayerName()}} [Change]
| expand all | collapse all | Progress | Duration | |
|---|---|---|---|
Code Contracts Overview |
|
00:14:04 | |
|
Introduction
|
|
00:33 | |
|
What are Code Contracts?
|
|
03:04 | |
|
Why Code Contracts?
|
|
02:29 | |
|
How Code Contracts Work
|
|
03:50 | |
|
Installing and Configuring
|
|
03:37 | |
|
Summary
|
|
00:31 | |
Basic Usage |
|
00:37:02 | |
|
Introduction
|
|
00:36 | |
|
Preconditions
|
|
01:25 | |
|
Basic Preconditions
|
|
09:55 | |
|
Preconditions with Exceptions
|
|
04:01 | |
|
Legacy Preconditions
|
|
03:34 | |
|
Postconditions
|
|
05:08 | |
|
Basic Postconditions
|
|
00:55 | |
|
Postconditions for Exceptions and Original Values
|
|
07:13 | |
|
Checking Results
|
|
03:19 | |
|
Summary
|
|
00:56 | |
Digging Deeper |
|
00:26:44 | |
|
Introduction
|
|
00:56 | |
|
Object Invariants
|
|
00:59 | |
|
Using Object Invariants
|
|
05:28 | |
|
Automatic Properties
|
|
05:09 | |
|
Assert and Assume
|
|
04:39 | |
|
ForAll
|
|
04:45 | |
|
Exists
|
|
03:45 | |
|
Summary
|
|
01:03 | |
Advanced |
|
00:33:27 | |
|
Introduction
|
|
00:59 | |
|
Inheritance Overview
|
|
03:39 | |
|
Inheritance Example
|
|
04:14 | |
|
Interfaces
|
|
03:10 | |
|
Abbreviators
|
|
04:39 | |
|
Static Checking Warning
|
|
02:56 | |
|
Turning on Static Checking
|
|
02:24 | |
|
Exploring Static Checking
|
|
03:54 | |
|
Static Checking Options
|
|
06:51 | |
|
Summary
|
|
00:41 |
Code Contracts Overview