Mercurial > pub > ImplabNet
annotate Implab/Formats/JSON/JSONElementType.cs @ 207:558f34b2fb50 v2
added Safe.DispatchEvent() a legacy equivalent for '?.Invoke()'
added Safe.Dispose(IEnumerable)
added PromiseExtensions.CancellationPoint to add a cancellation point to the chain of promises
added IPromise<T> PromiseExtensions.Then<T>(this IPromise<T> that, Action<T> success) overloads
added PromiseExtensions.Error() overloads to handle a error or(and) a cancellation
author | cin |
---|---|
date | Wed, 09 Nov 2016 12:03:22 +0300 |
parents | e227e78d72e4 |
children |
rev | line source |
---|---|
165 | 1 namespace Implab.Formats.JSON { |
163 | 2 /// <summary> |
3 /// Тип элемента на котором находится парсер | |
4 /// </summary> | |
5 public enum JSONElementType { | |
6 None, | |
7 /// <summary> | |
8 /// Начало объекта | |
9 /// </summary> | |
10 BeginObject, | |
11 /// <summary> | |
12 /// Конец объекта | |
13 /// </summary> | |
14 EndObject, | |
15 /// <summary> | |
16 /// Начало массива | |
17 /// </summary> | |
18 BeginArray, | |
19 /// <summary> | |
20 /// Конец массива | |
21 /// </summary> | |
22 EndArray, | |
23 /// <summary> | |
24 /// Простое значение | |
25 /// </summary> | |
26 Value | |
27 } | |
28 } |