Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / NetFx35 / System.ServiceModel.Web / System / ServiceModel / Syndication / CategoriesDocumentFormatter.cs / 1 / CategoriesDocumentFormatter.cs
//------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------- namespace System.ServiceModel.Syndication { using System.Collections.ObjectModel; using System.Runtime.Serialization; using System.Xml.Serialization; using System.Collections.Generic; using System.Xml; [DataContract] public abstract class CategoriesDocumentFormatter { CategoriesDocument document; protected CategoriesDocumentFormatter() { } protected CategoriesDocumentFormatter(CategoriesDocument documentToWrite) { if (documentToWrite == null) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("documentToWrite"); } this.document = documentToWrite; } public CategoriesDocument Document { get { return this.document; } } public abstract string Version { get; } public abstract bool CanRead(XmlReader reader); public abstract void ReadFrom(XmlReader reader); public abstract void WriteTo(XmlWriter writer); protected virtual InlineCategoriesDocument CreateInlineCategoriesDocument() { return new InlineCategoriesDocument(); } protected virtual ReferencedCategoriesDocument CreateReferencedCategoriesDocument() { return new ReferencedCategoriesDocument(); } protected virtual void SetDocument(CategoriesDocument document) { this.document = document; } } } // 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
- Decorator.cs
- CustomAttributeFormatException.cs
- SqlCacheDependencySection.cs
- MiniAssembly.cs
- CellParagraph.cs
- DependencyPropertyChangedEventArgs.cs
- SQLBinaryStorage.cs
- BinaryCommonClasses.cs
- PathGradientBrush.cs
- MemberInfoSerializationHolder.cs
- DataGridViewCellToolTipTextNeededEventArgs.cs
- WorkflowInstanceRecord.cs
- SeekableReadStream.cs
- SoapIncludeAttribute.cs
- ObjectReaderCompiler.cs
- IdentitySection.cs
- SettingsProviderCollection.cs
- ExtendedPropertyCollection.cs
- PreservationFileWriter.cs
- GenericEnumConverter.cs
- ResourcesChangeInfo.cs
- Crc32Helper.cs
- CollectionContainer.cs
- ContentElement.cs
- ProfileGroupSettings.cs
- _SslStream.cs
- ObjectStorage.cs
- DropDownHolder.cs
- LineSegment.cs
- SafeFileHandle.cs
- WindowsGraphicsWrapper.cs
- WsatServiceCertificate.cs
- Rules.cs
- WindowsSlider.cs
- DeleteHelper.cs
- TrackingProfileDeserializationException.cs
- GenerateTemporaryTargetAssembly.cs
- XmlReader.cs
- NamespaceEmitter.cs
- Utility.cs
- TextStore.cs
- ReceiveContent.cs
- BuildProviderAppliesToAttribute.cs
- MgmtConfigurationRecord.cs
- ProjectedWrapper.cs
- BaseDataList.cs
- MenuItemCollection.cs
- ToolStripRenderer.cs
- SafeFindHandle.cs
- RulePatternOps.cs
- VisualStyleElement.cs
- GlobalAllocSafeHandle.cs
- ThrowHelper.cs
- ToolStripContainer.cs
- Rules.cs
- ClockController.cs
- SecurityChannelFactory.cs
- Point4D.cs
- RegexWorker.cs
- ContractHandle.cs
- TemplateNameScope.cs
- CollectionChangedEventManager.cs
- ComponentSerializationService.cs
- AvTraceFormat.cs
- AstTree.cs
- CfgArc.cs
- Size3DValueSerializer.cs
- Site.cs
- EDesignUtil.cs
- DataControlFieldCell.cs
- ContainsRowNumberChecker.cs
- HierarchicalDataSourceControl.cs
- EntityDataSourceQueryBuilder.cs
- RootBrowserWindow.cs
- _Win32.cs
- ResourceAssociationSetEnd.cs
- PerformanceCounterManager.cs
- AssociationSetEnd.cs
- SocketCache.cs
- milrender.cs
- WebPartHeaderCloseVerb.cs
- MetadataItemSerializer.cs
- UnmanagedHandle.cs
- RealProxy.cs
- Reference.cs
- ActivityScheduledQuery.cs
- GiveFeedbackEventArgs.cs
- COM2ExtendedBrowsingHandler.cs
- TemplateControl.cs
- SystemThemeKey.cs
- XamlWrappingReader.cs
- ExpressionBindingCollection.cs
- MapPathBasedVirtualPathProvider.cs
- Stream.cs
- MimeTextImporter.cs
- IFlowDocumentViewer.cs
- XmlMemberMapping.cs
- StreamWriter.cs
- RolePrincipal.cs
- AnimationClock.cs