26 references to RequestIfMatch
System.Data.Services (26)
System\Data\Services\DataService.cs (10)
521
if (!WebUtil.IsETagValueValid(host.
RequestIfMatch
, allowStrongEtag))
523
throw DataServiceException.CreateBadRequestError(Strings.DataService_ETagValueNotValid(host.
RequestIfMatch
));
649
if (!String.IsNullOrEmpty(operationContext.Host.
RequestIfMatch
) && !String.IsNullOrEmpty(operationContext.Host.RequestIfNoneMatch))
847
if (!String.IsNullOrEmpty(host.
RequestIfMatch
) || !String.IsNullOrEmpty(host.RequestIfNoneMatch))
896
(String.IsNullOrEmpty(host.
RequestIfMatch
) && String.IsNullOrEmpty(host.RequestIfNoneMatch)) || description.TargetSource == RequestTargetSource.ServiceOperation,
1034
if (!String.IsNullOrEmpty(host.
RequestIfMatch
) || !String.IsNullOrEmpty(host.RequestIfNoneMatch))
1118
else if (!RequestDescription.IsETagHeaderAllowed(description) && !String.IsNullOrEmpty(host.
RequestIfMatch
))
1329
String.IsNullOrEmpty(host.
RequestIfMatch
) || String.IsNullOrEmpty(host.RequestIfNoneMatch),
1350
Debug.Assert(String.IsNullOrEmpty(host.
RequestIfMatch
) && String.IsNullOrEmpty(host.RequestIfNoneMatch), "ETag cannot be specified for $link requests");
1626
if (!String.IsNullOrEmpty(dataService.OperationContext.Host.
RequestIfMatch
) || !String.IsNullOrEmpty(dataService.OperationContext.Host.RequestIfNoneMatch))
System\Data\Services\Providers\DataServiceStreamProviderWrapper.cs (4)
408
Debug.Assert(string.IsNullOrEmpty(host.
RequestIfMatch
) || string.IsNullOrEmpty(host.RequestIfNoneMatch), "IfMatch and IfNoneMatch should not be both set.");
410
if (string.IsNullOrEmpty(host.
RequestIfMatch
) && string.IsNullOrEmpty(host.RequestIfNoneMatch))
415
else if (!string.IsNullOrEmpty(host.
RequestIfMatch
))
417
etag = host.
RequestIfMatch
;
System\Data\Services\UpdatableWrapper.cs (6)
158
if (!String.IsNullOrEmpty(host.
RequestIfMatch
))
174
if (!String.IsNullOrEmpty(host.
RequestIfMatch
))
177
etagValues = ParseETagValue(etagProperties, host.
RequestIfMatch
);
186
else if (String.IsNullOrEmpty(host.
RequestIfMatch
))
190
else if (host.
RequestIfMatch
!= XmlConstants.HttpAnyETag)
196
if (etagValue != host.
RequestIfMatch
)
System\Data\Services\WebUtil.cs (6)
1063
if (!String.IsNullOrEmpty(host.
RequestIfMatch
))
1075
if (!String.IsNullOrEmpty(host.
RequestIfMatch
))
1080
else if (String.IsNullOrEmpty(host.
RequestIfMatch
) && String.IsNullOrEmpty(host.RequestIfNoneMatch))
1084
else if (host.
RequestIfMatch
== XmlConstants.HttpAnyETag)
1097
if (String.IsNullOrEmpty(host.
RequestIfMatch
))
1105
else if (etag != host.
RequestIfMatch
)