Skip to content

Commit

Permalink
Update Disposables.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Froussios committed Mar 19, 2015
1 parent 4b8ea82 commit 283f27a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Appendix/Disposables.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ This class simply has the Dispose method and a read-only property IsDisposed. Is

### CancellationDisposable

The CancellationDisposable class offers an integration point between the .NET cancellation paradigm (CancellationTokenSource) and the resource management paradigm (IDisposable). You can create an instance of the CancellationDisposable class by providing a CancellationTokenSource to the constructor, or by having the parameterless constructor create one for you. Calling Dispose will invoke the Cancel method on the CancellationTokenSource. There are two properties (Token and IsDisposed) that CancellationDisposable exposes; they are wrappers for the CancellationTokenSource properties, respectively Token and IsCancellationRequested.
The CancellationDisposable class offers an integration point between the .NET [cancellation paradigm](http://msdn.microsoft.com/en-us/library/dd997364.aspx) (CancellationTokenSource) and the resource management paradigm (IDisposable). You can create an instance of the CancellationDisposable class by providing a CancellationTokenSource to the constructor, or by having the parameterless constructor create one for you. Calling Dispose will invoke the Cancel method on the CancellationTokenSource. There are two properties (Token and IsDisposed) that CancellationDisposable exposes; they are wrappers for the CancellationTokenSource properties, respectively Token and IsCancellationRequested.

### CompositeDisposable

Expand Down

0 comments on commit 283f27a

Please sign in to comment.