36 references to AstoriaHttpVerb
System.Data.Services (36)
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\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 (4)
167
if (service.OperationContext.Host.
AstoriaHttpVerb
== AstoriaVerbs.GET)
650
AstoriaVerbs verbUsed = service.OperationContext.Host.
AstoriaHttpVerb
;
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 (8)
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)
System\Data\Services\Serializers\JsonDeserializer.cs (3)
434
this.Service.OperationContext.Host.
AstoriaHttpVerb
== AstoriaVerbs.PUT /*replaceResource*/);
504
changed = changed || this.Service.OperationContext.Host.
AstoriaHttpVerb
== AstoriaVerbs.PUT;
779
Deserializer.CheckForBindingInPutOperations(this.Service.OperationContext.Host.
AstoriaHttpVerb
);
System\Data\Services\Serializers\SyndicationDeserializer.cs (2)
395
bool replaceResource = topLevel && host.
AstoriaHttpVerb
== AstoriaVerbs.PUT;
440
Deserializer.CheckForBindingInPutOperations(host.
AstoriaHttpVerb
);
System\Data\Services\WebUtil.cs (1)
1054
Debug.Assert(host.
AstoriaHttpVerb
== AstoriaVerbs.GET, "this method must be called for GET operations only");