39 references to Provider
System.Data.Services (39)
System\Data\Services\Serializers\JsonSerializer.cs (12)
195
Uri uri = Serializer.GetUri(element, this.
Provider
, this.CurrentContainer, this.AbsoluteServiceUri);
237
Uri uri = Serializer.GetUri(o, this.
Provider
, this.CurrentContainer, this.AbsoluteServiceUri);
543
ResourceType resourceType = WebUtil.GetResourceType(this.
Provider
, element);
582
Uri entityUri = Serializer.GetUri(element, this.
Provider
, this.CurrentContainer, this.AbsoluteServiceUri);
690
propertyValue = GetExpandedProperty(this.
Provider
, expanded, customObject, property);
699
propertyValue = GetExpandedProperty(this.
Provider
, null, customObject, property);
736
propertyResourceType = WebUtil.GetResourceType(this.
Provider
, propertyValue);
770
if (this.CurrentContainer != null && this.
Provider
.IsEntityTypeDisallowedForSet(this.CurrentContainer, resourceType))
783
foreach (ResourceProperty property in this.
Provider
.GetResourceProperties(this.CurrentContainer, resourceType))
794
foreach (var pair in this.
Provider
.GetOpenPropertyValues(customObject))
810
this.
Provider
.GetResourceProperties(this.CurrentContainer, resourceType).Contains(property))
817
object propertyValue = WebUtil.GetPropertyValue(this.
Provider
, customObject, resourceType, null, propertyName);
System\Data\Services\Serializers\PlainXmlSerializer.cs (7)
156
resourceType = WebUtil.GetResourceType(this.
Provider
, element);
181
this.RequestDescription.TargetResourceType : WebUtil.GetResourceType(this.
Provider
, element);
215
Uri uri = Serializer.GetUri(element, this.
Provider
, this.CurrentContainer, this.AbsoluteServiceUri);
290
object propertyValue = WebUtil.GetPropertyValue(this.
Provider
, element, resourceType, property, null);
308
IEnumerable<KeyValuePair<string, object>> properties = this.
Provider
.GetOpenPropertyValues(element);
318
ResourceType propertyResourceType = WebUtil.GetResourceType(this.
Provider
, value);
390
ResourceType resourceType = WebUtil.GetNonPrimitiveResourceType(this.
Provider
, element);
System\Data\Services\Serializers\Serializer.cs (2)
373
skipTokenBuilder = new SkipTokenBuilderFromProperties(lastObject, this.
Provider
, this.RequestDescription.SkipTokenProperties);
389
skipTokenBuilder = new SkipTokenBuilderFromProperties(lastObject, this.
Provider
, this.CurrentContainer.ResourceType.KeyProperties);
System\Data\Services\Serializers\SyndicationSerializer.cs (18)
188
resourcePropertyType = (element == null) ? ResourceType.PrimitiveStringResourceType : WebUtil.GetResourceType(this.
Provider
, element);
426
ResourceType resourceType = WebUtil.GetNonPrimitiveResourceType(this.
Provider
, element);
491
absoluteUri = Serializer.GetUri(element, this.
Provider
, this.CurrentContainer, this.AbsoluteServiceUri);
494
ResourceType actualResourceType = WebUtil.GetNonPrimitiveResourceType(this.
Provider
, element);
524
using (EpmContentSerializer epmSerializer = new EpmContentSerializer(actualResourceType, element, target, this.
Provider
))
527
epmSerializer.Serialize(content, this.
Provider
);
767
if (this.
Provider
.IsEntityTypeDisallowedForSet(this.CurrentContainer, resourceType))
780
if (action == null && this.
Provider
.IsV1Provider)
828
object propertyValue = WebUtil.GetPropertyValue(this.
Provider
, customObject, resourceType, property, null);
838
foreach (ResourceProperty property in this.
Provider
.GetResourceProperties(this.CurrentContainer, resourceType))
846
(this.ShouldExpandSegment(property.Name)) ? GetExpandedProperty(this.
Provider
, expanded, customObject, property) : null;
853
object propertyValue = WebUtil.GetPropertyValue(this.
Provider
, customObject, resourceType, property, null);
869
IEnumerable<KeyValuePair<string, object>> properties = this.
Provider
.GetOpenPropertyValues(customObject);
892
propertyResourceType = WebUtil.GetResourceType(this.
Provider
, value);
953
if (this.
Provider
.GetResourceProperties(this.CurrentContainer, resourceType).Contains(property))
956
(this.ShouldExpandSegment(propertyName)) ? GetExpandedProperty(this.
Provider
, expanded, customObject, property) : null;
964
object propertyValue = WebUtil.GetPropertyValue(this.
Provider
, customObject, resourceType, property, property == null ? propertyName : null);
980
propertyResourceType = WebUtil.GetResourceType(this.
Provider
, propertyValue);