48 references to AstoriaVerbs
System.Data.Services (48)
System\Data\Services\DataService.cs (15)
715
if (host.AstoriaHttpVerb ==
AstoriaVerbs
.GET)
746
if (host.AstoriaHttpVerb ==
AstoriaVerbs
.POST)
759
else if (host.AstoriaHttpVerb ==
AstoriaVerbs
.PUT ||
760
host.AstoriaHttpVerb ==
AstoriaVerbs
.MERGE)
764
if (host.AstoriaHttpVerb ==
AstoriaVerbs
.PUT)
782
else if (host.AstoriaHttpVerb ==
AstoriaVerbs
.DELETE)
853
if (host.AstoriaHttpVerb ==
AstoriaVerbs
.PUT ||
854
host.AstoriaHttpVerb ==
AstoriaVerbs
.MERGE)
1334
if (host.AstoriaHttpVerb ==
AstoriaVerbs
.GET)
1397
Debug.Assert(host.AstoriaHttpVerb ==
AstoriaVerbs
.POST, "Must be POST method");
1784
if (this.operationContext.Host.AstoriaHttpVerb !=
AstoriaVerbs
.GET)
1819
if (host.AstoriaHttpVerb !=
AstoriaVerbs
.POST)
2060
if (host.AstoriaHttpVerb !=
AstoriaVerbs
.GET && !this.operationContext.IsBatchRequest)
2463
Debug.Assert(this.operationContext.Host.AstoriaHttpVerb ==
AstoriaVerbs
.GET, "this.operationContext.Host.AstoriaHttpVerb == AstoriaVerbs.GET");
2749
if (previousContext.Host.AstoriaHttpVerb ==
AstoriaVerbs
.POST && previousHost.ContentId == contentId)
System\Data\Services\DataServiceHostWrapper.cs (9)
88
private
AstoriaVerbs
astoriaHttpVerb;
123
this.astoriaHttpVerb =
AstoriaVerbs
.None;
142
internal
AstoriaVerbs
AstoriaHttpVerb
146
if (this.astoriaHttpVerb ==
AstoriaVerbs
.None)
153
this.astoriaHttpVerb =
AstoriaVerbs
.GET;
157
this.astoriaHttpVerb =
AstoriaVerbs
.POST;
161
this.astoriaHttpVerb =
AstoriaVerbs
.PUT;
165
this.astoriaHttpVerb =
AstoriaVerbs
.MERGE;
169
this.astoriaHttpVerb =
AstoriaVerbs
.DELETE;
System\Data\Services\RequestQueryProcessor.cs (3)
122
(service.OperationContext.Host.AstoriaHttpVerb ==
AstoriaVerbs
.GET || description.SegmentInfos[0].TargetSource == RequestTargetSource.ServiceOperation);
258
if ((service.OperationContext.Host.AstoriaHttpVerb !=
AstoriaVerbs
.GET) &&
986
if (this.service.OperationContext.Host.AstoriaHttpVerb !=
AstoriaVerbs
.GET)
System\Data\Services\RequestUriProcessor.cs (7)
167
if (service.OperationContext.Host.AstoriaHttpVerb ==
AstoriaVerbs
.GET)
650
AstoriaVerbs
verbUsed = service.OperationContext.Host.AstoriaHttpVerb;
651
bool isPostQueryForSet = isLastSegment && verbUsed ==
AstoriaVerbs
.POST && string.IsNullOrEmpty(queryPortion);
652
bool isUpdateQueryForLinks = isAfterLink && (verbUsed ==
AstoriaVerbs
.PUT || verbUsed ==
AstoriaVerbs
.MERGE);
784
if (service.OperationContext.Host.AstoriaHttpVerb !=
AstoriaVerbs
.GET)
831
if (previous.TargetKind == RequestTargetKind.Link || hasQuery || service.OperationContext.Host.AstoriaHttpVerb ==
AstoriaVerbs
.POST)
System\Data\Services\Serializers\Deserializer.cs (10)
152
(!update /*POST*/ && dataService.OperationContext.Host.AstoriaHttpVerb ==
AstoriaVerbs
.POST) ||
153
(update /*PUT,MERGE*/ && (dataService.OperationContext.Host.AstoriaHttpVerb ==
AstoriaVerbs
.MERGE || dataService.OperationContext.Host.AstoriaHttpVerb ==
AstoriaVerbs
.PUT)),
442
if (host.AstoriaHttpVerb ==
AstoriaVerbs
.PUT)
446
else if (host.AstoriaHttpVerb ==
AstoriaVerbs
.MERGE)
453
host.AstoriaHttpVerb ==
AstoriaVerbs
.POST ||
454
host.AstoriaHttpVerb ==
AstoriaVerbs
.DELETE,
604
if (service.OperationContext.Host.AstoriaHttpVerb ==
AstoriaVerbs
.MERGE)
830
protected static void CheckForBindingInPutOperations(
AstoriaVerbs
requestVerb)
833
if (requestVerb ==
AstoriaVerbs
.PUT)
System\Data\Services\Serializers\JsonDeserializer.cs (2)
434
this.Service.OperationContext.Host.AstoriaHttpVerb ==
AstoriaVerbs
.PUT /*replaceResource*/);
504
changed = changed || this.Service.OperationContext.Host.AstoriaHttpVerb ==
AstoriaVerbs
.PUT;
System\Data\Services\Serializers\SyndicationDeserializer.cs (1)
395
bool replaceResource = topLevel && host.AstoriaHttpVerb ==
AstoriaVerbs
.PUT;
System\Data\Services\WebUtil.cs (1)
1054
Debug.Assert(host.AstoriaHttpVerb ==
AstoriaVerbs
.GET, "this method must be called for GET operations only");