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