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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
165
e227e78d72e4 DFA refactoring
cin
parents: 163
diff changeset
1 namespace Implab.Formats.JSON {
163
419aa51b04fd JSON moved to Formats namespace
cin
parents:
diff changeset
2 /// <summary>
419aa51b04fd JSON moved to Formats namespace
cin
parents:
diff changeset
3 /// Тип элемента на котором находится парсер
419aa51b04fd JSON moved to Formats namespace
cin
parents:
diff changeset
4 /// </summary>
419aa51b04fd JSON moved to Formats namespace
cin
parents:
diff changeset
5 public enum JSONElementType {
419aa51b04fd JSON moved to Formats namespace
cin
parents:
diff changeset
6 None,
419aa51b04fd JSON moved to Formats namespace
cin
parents:
diff changeset
7 /// <summary>
419aa51b04fd JSON moved to Formats namespace
cin
parents:
diff changeset
8 /// Начало объекта
419aa51b04fd JSON moved to Formats namespace
cin
parents:
diff changeset
9 /// </summary>
419aa51b04fd JSON moved to Formats namespace
cin
parents:
diff changeset
10 BeginObject,
419aa51b04fd JSON moved to Formats namespace
cin
parents:
diff changeset
11 /// <summary>
419aa51b04fd JSON moved to Formats namespace
cin
parents:
diff changeset
12 /// Конец объекта
419aa51b04fd JSON moved to Formats namespace
cin
parents:
diff changeset
13 /// </summary>
419aa51b04fd JSON moved to Formats namespace
cin
parents:
diff changeset
14 EndObject,
419aa51b04fd JSON moved to Formats namespace
cin
parents:
diff changeset
15 /// <summary>
419aa51b04fd JSON moved to Formats namespace
cin
parents:
diff changeset
16 /// Начало массива
419aa51b04fd JSON moved to Formats namespace
cin
parents:
diff changeset
17 /// </summary>
419aa51b04fd JSON moved to Formats namespace
cin
parents:
diff changeset
18 BeginArray,
419aa51b04fd JSON moved to Formats namespace
cin
parents:
diff changeset
19 /// <summary>
419aa51b04fd JSON moved to Formats namespace
cin
parents:
diff changeset
20 /// Конец массива
419aa51b04fd JSON moved to Formats namespace
cin
parents:
diff changeset
21 /// </summary>
419aa51b04fd JSON moved to Formats namespace
cin
parents:
diff changeset
22 EndArray,
419aa51b04fd JSON moved to Formats namespace
cin
parents:
diff changeset
23 /// <summary>
419aa51b04fd JSON moved to Formats namespace
cin
parents:
diff changeset
24 /// Простое значение
419aa51b04fd JSON moved to Formats namespace
cin
parents:
diff changeset
25 /// </summary>
419aa51b04fd JSON moved to Formats namespace
cin
parents:
diff changeset
26 Value
419aa51b04fd JSON moved to Formats namespace
cin
parents:
diff changeset
27 }
419aa51b04fd JSON moved to Formats namespace
cin
parents:
diff changeset
28 }