annotate Implab/Formats/JSON/JSONElementContext.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 c32688129f14
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 /// internal
419aa51b04fd JSON moved to Formats namespace
cin
parents:
diff changeset
4 /// </summary>
165
e227e78d72e4 DFA refactoring
cin
parents: 163
diff changeset
5 enum JSONElementContext {
163
419aa51b04fd JSON moved to Formats namespace
cin
parents:
diff changeset
6 None,
419aa51b04fd JSON moved to Formats namespace
cin
parents:
diff changeset
7 Object,
180
c32688129f14 refactoring complete, JSONParser rewritten
cin
parents: 178
diff changeset
8 Array,
c32688129f14 refactoring complete, JSONParser rewritten
cin
parents: 178
diff changeset
9 Closed
163
419aa51b04fd JSON moved to Formats namespace
cin
parents:
diff changeset
10 }
419aa51b04fd JSON moved to Formats namespace
cin
parents:
diff changeset
11 }