18 references to WebConvert
System.Data.Services (18)
System\Data\Services\KeyInstance.cs (2)
154
if (!
WebConvert
.TryKeyStringToPrimitive(valueText, property.Type, out convertedValue))
169
if (!
WebConvert
.TryKeyStringToPrimitive(valueText, type.KeyProperties[i].Type, out convertedValue))
System\Data\Services\Parsing\ExpressionLexer.cs (1)
485
while (
WebConvert
.IsCharHexDigit(this.ch));
System\Data\Services\Parsing\RequestQueryParser.cs (2)
2018
if (!
WebConvert
.TryKeyStringToPrimitive(l.CurrentToken.Text, targetType, out targetValue))
2494
if (
WebConvert
.TryRemoveQuotes(ref text))
System\Data\Services\Parsing\WebConvert.cs (2)
382
bool quoted =
WebConvert
.IsKeyTypeQuoted(targetType);
383
if (quoted !=
WebConvert
.IsKeyValueQuoted(text))
System\Data\Services\RequestUriProcessor.cs (3)
1084
if (
WebConvert
.IsKeyTypeQuoted(targetType))
1086
WebUtil.CheckSyntaxValid(
WebConvert
.IsKeyValueQuoted(queryStringValue));
1089
WebUtil.CheckSyntaxValid(
WebConvert
.TryKeyStringToPrimitive(queryStringValue, targetType, out operationParameters[i]));
System\Data\Services\Serializers\Deserializer.cs (1)
291
requestValue =
WebConvert
.StringToPrimitive((string)propertyValue, description.Property.Type);
System\Data\Services\Serializers\PlainXmlDeserializer.cs (1)
123
value =
WebConvert
.StringToPrimitive(stringValue, typeToBeConverted);
System\Data\Services\Serializers\PlainXmlSerializer.cs (1)
67
if (!System.Data.Services.Parsing.
WebConvert
.TryXmlPrimitiveToString(value, out result))
System\Data\Services\Serializers\Serializer.cs (2)
770
if (!System.Data.Services.Parsing.
WebConvert
.TryKeyPrimitiveToString(keyValue, out keyValueText))
1143
if (!System.Data.Services.Parsing.
WebConvert
.TryKeyPrimitiveToString(value, out stringValue))
System\Data\Services\Serializers\TextSerializer.cs (1)
59
if (!System.Data.Services.Parsing.
WebConvert
.TryXmlPrimitiveToString(content, out contentAsText))
System\Data\Services\UpdatableWrapper.cs (1)
402
success = System.Data.Services.Parsing.
WebConvert
.TryKeyStringToPrimitive(value, etagProperty.Type, out propertyValue);
System\Data\Services\WebUtil.cs (1)
939
else if (!System.Data.Services.Parsing.
WebConvert
.TryKeyPrimitiveToString(keyValue, out keyValueText))