Mercurial > pub > ImplabNet
annotate Implab.Diagnostics.Interactive/TextStyle.cs @ 187:dd4a3590f9c6 ref20160224
Reworked cancelation handling, if the cancel handler isn't specified the OperationCanceledException will be handled by the error handler
Any unhandled OperationCanceledException will cause the promise cancelation
| author | cin |
|---|---|
| date | Tue, 19 Apr 2016 17:35:20 +0300 |
| parents | d10034588e38 |
| children |
| rev | line source |
|---|---|
| 45 | 1 using System; |
| 2 using System.Collections.Generic; | |
| 3 using System.Drawing; | |
| 4 using System.Linq; | |
| 5 using System.Text; | |
| 6 using System.Threading.Tasks; | |
| 7 | |
| 8 namespace Implab.Diagnostics.Interactive { | |
| 9 class TextStyle { | |
| 10 public Color TextColor { | |
| 11 get; | |
| 12 set; | |
| 13 } | |
| 14 | |
| 15 public FontStyle FontStyle { | |
| 16 get; | |
| 17 set; | |
| 18 } | |
| 19 | |
| 20 public int PaddingLeft { | |
| 21 get; | |
| 22 set; | |
| 23 } | |
| 24 } | |
| 25 } |
