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
- RequestCachePolicy.cs
- SizeChangedInfo.cs
- Rotation3D.cs
- DataGridViewButtonCell.cs
- SchemaImporterExtensionElement.cs
- SQLBytesStorage.cs
- Type.cs
- TreeIterators.cs
- WriteableBitmap.cs
- AnonymousIdentificationModule.cs
- LayoutEngine.cs
- MessageLogTraceRecord.cs
- TemplateKeyConverter.cs
- FaultException.cs
- ObjectConverter.cs
- MessageHeaders.cs
- SkinBuilder.cs
- MDIClient.cs
- WindowClosedEventArgs.cs
- MasterPage.cs
- ToolStripSeparator.cs
- AppDomainUnloadedException.cs
- WindowsFormsHostPropertyMap.cs
- ActivityScheduledRecord.cs
- WS2007FederationHttpBindingCollectionElement.cs
- Completion.cs
- TextSelectionHelper.cs
- GridToolTip.cs
- x509utils.cs
- PresentationSource.cs
- UnsafeNativeMethods.cs
- List.cs
- TableItemStyle.cs
- OpenTypeCommon.cs
- UniqueIdentifierService.cs
- BufferedGraphics.cs
- MemoryMappedView.cs
- serverconfig.cs
- FormViewModeEventArgs.cs
- ObjRef.cs
- TransformConverter.cs
- ColumnResult.cs
- StringToken.cs
- ToolStripLocationCancelEventArgs.cs
- TileBrush.cs
- PluralizationServiceUtil.cs
- Comparer.cs
- TextBox.cs
- NameTable.cs
- Math.cs
- UrlMappingCollection.cs
- DynamicEntity.cs
- Span.cs
- DependencyPropertyKind.cs
- StringConcat.cs
- DerivedKeySecurityTokenStub.cs
- HtmlPanelAdapter.cs
- HttpValueCollection.cs
- DecimalConverter.cs
- UnsafeNativeMethods.cs
- Attributes.cs
- ObjectStateEntryOriginalDbUpdatableDataRecord.cs
- HttpProfileGroupBase.cs
- SiteMapNodeItemEventArgs.cs
- TableCellCollection.cs
- RectangleConverter.cs
- NetMsmqSecurity.cs
- EventLogPermissionEntryCollection.cs
- ConsoleKeyInfo.cs
- BamlWriter.cs
- SecUtil.cs
- Model3DGroup.cs
- FormsAuthenticationCredentials.cs
- PersistChildrenAttribute.cs
- ArcSegment.cs
- IPGlobalProperties.cs
- FlowDocumentView.cs
- DictionaryBase.cs
- PriorityBindingExpression.cs
- TagMapInfo.cs
- AtomEntry.cs
- RegularExpressionValidator.cs
- SqlRetyper.cs
- DeleteCardRequest.cs
- FrameworkElementFactory.cs
- ResourceDisplayNameAttribute.cs
- shaper.cs
- PenThreadPool.cs
- WhiteSpaceTrimStringConverter.cs
- XsltLibrary.cs
- CatalogZone.cs
- ValuePatternIdentifiers.cs
- CfgArc.cs
- FrameworkElementFactory.cs
- DispatcherProcessingDisabled.cs
- Set.cs
- CacheAxisQuery.cs
- RandomNumberGenerator.cs
- ArgumentOutOfRangeException.cs
- ResourceProperty.cs