Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Extensions / Script / Serialization / SimpleTypeResolver.cs / 1305376 / SimpleTypeResolver.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.Script.Serialization { using System; using System.Web; public class SimpleTypeResolver : JavaScriptTypeResolver { public override Type ResolveType(string id) { return Type.GetType(id); } public override string ResolveTypeId(Type type) { if (type == null) { throw new ArgumentNullException("type"); } return type.AssemblyQualifiedName; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- BaseResourcesBuildProvider.cs
- DashStyle.cs
- SqlTypesSchemaImporter.cs
- StringOutput.cs
- UrlPath.cs
- ReferenceEqualityComparer.cs
- ErrorLog.cs
- RadioButtonList.cs
- SettingsAttributeDictionary.cs
- OdbcCommandBuilder.cs
- StateMachineSubscription.cs
- Solver.cs
- SpellerInterop.cs
- WebEventTraceProvider.cs
- GridViewCancelEditEventArgs.cs
- HttpFileCollection.cs
- util.cs
- DictionaryBase.cs
- DateTimeOffsetAdapter.cs
- RoleServiceManager.cs
- ActiveDocumentEvent.cs
- RelOps.cs
- CacheModeValueSerializer.cs
- RuntimeCompatibilityAttribute.cs
- Keywords.cs
- JumpTask.cs
- DataControlFieldCollection.cs
- HashStream.cs
- MultipartContentParser.cs
- GetLastErrorDetailsRequest.cs
- Int16.cs
- XsltException.cs
- ImageClickEventArgs.cs
- ContextMenuStripActionList.cs
- DbParameterHelper.cs
- TdsParameterSetter.cs
- Attributes.cs
- SafeCertificateContext.cs
- ListViewGroup.cs
- InvariantComparer.cs
- AdPostCacheSubstitution.cs
- IPipelineRuntime.cs
- HtmlEncodedRawTextWriter.cs
- BufferedReadStream.cs
- HttpTransportManager.cs
- autovalidator.cs
- QueryStringHandler.cs
- IDQuery.cs
- SqlCommandSet.cs
- TrackBar.cs
- FilterElement.cs
- CommandID.cs
- InputScope.cs
- Range.cs
- OptimizedTemplateContent.cs
- FormattedText.cs
- GridViewAutomationPeer.cs
- FontStyle.cs
- OpenFileDialog.cs
- DbCommandTree.cs
- TemplatedEditableDesignerRegion.cs
- FormatSettings.cs
- SimpleTextLine.cs
- BypassElementCollection.cs
- ProcessHostServerConfig.cs
- SignedPkcs7.cs
- ConnectionAcceptor.cs
- ObjectStorage.cs
- EventBuilder.cs
- SignedXml.cs
- FixedPage.cs
- HostedHttpTransportManager.cs
- PropertyGridCommands.cs
- TreeNodeCollectionEditor.cs
- HttpFileCollection.cs
- SQLMoneyStorage.cs
- GeometryConverter.cs
- RelatedEnd.cs
- CompensatableSequenceActivity.cs
- ResourcePool.cs
- TypeToken.cs
- DataGridViewCheckBoxCell.cs
- NullableDecimalSumAggregationOperator.cs
- RowVisual.cs
- ToolTip.cs
- PrimitiveXmlSerializers.cs
- DefaultBinder.cs
- PickBranch.cs
- HTMLTagNameToTypeMapper.cs
- PassportAuthentication.cs
- XPathNodeHelper.cs
- HttpWebResponse.cs
- HttpHeaderCollection.cs
- VisualStyleRenderer.cs
- SplineQuaternionKeyFrame.cs
- VisualTreeUtils.cs
- ImageButton.cs
- InlinedAggregationOperator.cs
- _LazyAsyncResult.cs
- PrintController.cs