38 references to AtomDataKind
System.Data.Services.Client (38)
System\Data\Services\Client\AtomMaterializer.cs (9)
357
get { return this.parser.DataKind ==
AtomDataKind
.Finished; }
953
this.parser.DataKind !=
AtomDataKind
.None,
956
this.parser.DataKind !=
AtomDataKind
.Finished,
961
case
AtomDataKind
.Feed:
962
case
AtomDataKind
.FeedCount:
965
case
AtomDataKind
.Entry:
972
case
AtomDataKind
.PagingLinks:
979
this.parser.DataKind ==
AtomDataKind
.Custom,
1023
Debug.Assert(this.parser.DataKind ==
AtomDataKind
.Finished, "parser.DataKind == AtomDataKind.None");
System\Data\Services\Client\AtomParser.cs (29)
75
private
AtomDataKind
kind;
110
Debug.Assert(this.kind ==
AtomDataKind
.None, "this.kind == AtomDataKind.None -- otherwise not initialized correctly");
136
internal
AtomDataKind
DataKind
194
if (this.DataKind ==
AtomDataKind
.Finished)
210
AtomDataKind
readerData = ParseStateForReader(this.reader);
223
case
AtomDataKind
.Custom:
224
if (this.DataKind ==
AtomDataKind
.None)
226
this.kind =
AtomDataKind
.Custom;
235
case
AtomDataKind
.Entry:
236
this.kind =
AtomDataKind
.Entry;
240
case
AtomDataKind
.Feed:
241
if (this.DataKind ==
AtomDataKind
.None)
244
this.kind =
AtomDataKind
.Feed;
250
case
AtomDataKind
.FeedCount:
254
case
AtomDataKind
.PagingLinks:
261
this.kind =
AtomDataKind
.PagingLinks;
271
this.kind =
AtomDataKind
.Finished;
288
this.kind ==
AtomDataKind
.Custom,
304
this.kind ==
AtomDataKind
.Custom,
337
private static
AtomDataKind
ParseStateForReader(XmlReader reader)
344
AtomDataKind
result =
AtomDataKind
.Custom;
351
result =
AtomDataKind
.Entry;
355
result =
AtomDataKind
.Feed;
360
result =
AtomDataKind
.PagingLinks;
367
result =
AtomDataKind
.FeedCount;
674
case
AtomDataKind
.Feed:
679
case
AtomDataKind
.Entry:
691
case
AtomDataKind
.PagingLinks: