Mercurial > pub > ImplabNet
diff Implab/PromiseEventType.cs @ 192:f1da3afc3521 release v2.1
Слияние с v2
author | cin |
---|---|
date | Fri, 22 Apr 2016 13:10:34 +0300 |
parents | 3fbc6eb93eb1 |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Implab/PromiseEventType.cs Fri Apr 22 13:10:34 2016 +0300 @@ -0,0 +1,21 @@ +using System; + +namespace Implab { + [Flags] + public enum PromiseEventType { + Success = 1, + Error = 2, + Cancelled = 4, + /// <summary> + /// Завершено успешно, либо возникла ошибка, + /// </summary> + All = 7, + /// <summary> + /// Заврешено успешно, либо возникла ошибка. + /// </summary> + Complete = 3, + + ErrorOrCancel = 6 + } +} +