Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / NetFx35 / System.ServiceModel.Web / System / Runtime / Serialization / Json / JsonUriDataContract.cs / 1 / JsonUriDataContract.cs
//---------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. //--------------------------------------------------------------- namespace System.Runtime.Serialization.Json { using System; using System.Collections.Generic; using System.Text; using System.Diagnostics; using System.Xml; class JsonUriDataContract : JsonDataContract { public JsonUriDataContract(UriDataContract traditionalUriDataContract) : base(traditionalUriDataContract) { } public override object ReadJsonValueCore(XmlReaderDelegator jsonReader, XmlObjectSerializerReadContextComplexJson context) { if (context == null) { return TryReadNullAtTopLevel(jsonReader) ? null : jsonReader.ReadElementContentAsUri(); } else { return HandleReadValue(jsonReader.ReadElementContentAsUri(), context); } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- EncodingNLS.cs
- EdmSchemaAttribute.cs
- AnnotationObservableCollection.cs
- TreeNode.cs
- AsyncContentLoadedEventArgs.cs
- EventLog.cs
- SqlCommandSet.cs
- RuntimeResourceSet.cs
- Timer.cs
- SpecialFolderEnumConverter.cs
- AbandonedMutexException.cs
- WebPartVerbCollection.cs
- MinMaxParagraphWidth.cs
- ConfigurationValidatorAttribute.cs
- DefinitionBase.cs
- UmAlQuraCalendar.cs
- ByteKeyFrameCollection.cs
- ExpressionConverter.cs
- FixUp.cs
- XmlAttributes.cs
- TypeConverterAttribute.cs
- DataGridAutoFormatDialog.cs
- FormsAuthenticationUserCollection.cs
- CaseStatementProjectedSlot.cs
- SqlDataSourceStatusEventArgs.cs
- ConnectionPoint.cs
- InteropTrackingRecord.cs
- _ContextAwareResult.cs
- ContainerSelectorBehavior.cs
- FixedSOMTableRow.cs
- odbcmetadatacolumnnames.cs
- Bits.cs
- Int16Converter.cs
- SpellerHighlightLayer.cs
- _ConnectStream.cs
- VisualStyleInformation.cs
- RemoteHelper.cs
- LeafCellTreeNode.cs
- ConsoleKeyInfo.cs
- GlyphManager.cs
- UIServiceHelper.cs
- DataControlImageButton.cs
- XNodeValidator.cs
- DataGrid.cs
- BuildProviderAppliesToAttribute.cs
- PingReply.cs
- Method.cs
- FormsAuthentication.cs
- GroupItemAutomationPeer.cs
- Publisher.cs
- HtmlControlPersistable.cs
- EDesignUtil.cs
- UdpMessageProperty.cs
- ProfilePropertyNameValidator.cs
- OdbcCommandBuilder.cs
- DocumentScope.cs
- FacetChecker.cs
- DataControlFieldCollection.cs
- CodeExporter.cs
- BadImageFormatException.cs
- AnnotationHighlightLayer.cs
- FormatterServices.cs
- ResourceDescriptionAttribute.cs
- AuthenticationModuleElementCollection.cs
- Deflater.cs
- DataGridViewAccessibleObject.cs
- ConstructorExpr.cs
- EntityDataSourceConfigureObjectContextPanel.cs
- Timeline.cs
- AutomationPatternInfo.cs
- VisualBasicValue.cs
- EventLogEntry.cs
- Filter.cs
- ActivityValidator.cs
- RectAnimation.cs
- OdbcErrorCollection.cs
- ViewSimplifier.cs
- CompensableActivity.cs
- StyleSheetDesigner.cs
- Utils.cs
- MimeMapping.cs
- TextServicesCompartmentEventSink.cs
- Point3DAnimationBase.cs
- ChannelDispatcher.cs
- Helpers.cs
- CodeTryCatchFinallyStatement.cs
- NavigationWindowAutomationPeer.cs
- NetworkAddressChange.cs
- HttpWebRequest.cs
- IntegrationExceptionEventArgs.cs
- RowToParametersTransformer.cs
- TransactedReceiveData.cs
- SqlCacheDependencySection.cs
- ComponentResourceManager.cs
- RuntimeEnvironment.cs
- DataGridViewIntLinkedList.cs
- EventHandlers.cs
- EntityContainer.cs
- EventHandlersStore.cs
- ElementAtQueryOperator.cs