Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / NetFx35 / System.ServiceModel.Web / System / ServiceModel / Syndication / InlineCategoriesDocument.cs / 1 / InlineCategoriesDocument.cs
//------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------- namespace System.ServiceModel.Syndication { using System.Xml; using System.Collections.ObjectModel; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Runtime.Serialization; using System.Xml.Serialization; public class InlineCategoriesDocument : CategoriesDocument { Collectioncategories; bool isFixed; string scheme; public InlineCategoriesDocument() { } public InlineCategoriesDocument(IEnumerable categories) : this(categories, false, null) { } public InlineCategoriesDocument(IEnumerable categories, bool isFixed, string scheme) { if (categories != null) { this.categories = new NullNotAllowedCollection (); foreach (SyndicationCategory category in categories) { this.categories.Add(category); } } this.isFixed = isFixed; this.scheme = scheme; } public Collection Categories { get { if (this.categories == null) { this.categories = new NullNotAllowedCollection (); } return this.categories; } } public bool IsFixed { get { return this.isFixed; } set { this.isFixed = value; } } public string Scheme { get { return this.scheme; } set { this.scheme = value; } } internal override bool IsInline { get { return true; } } internal protected virtual SyndicationCategory CreateCategory() { return new SyndicationCategory(); } } } // 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
- DesignerActionItem.cs
- ProviderException.cs
- EventlogProvider.cs
- DateTimePicker.cs
- CreateUserWizardStep.cs
- ToolStripMenuItem.cs
- ProgressiveCrcCalculatingStream.cs
- MonitoringDescriptionAttribute.cs
- LedgerEntryCollection.cs
- ImageListStreamer.cs
- IsolatedStorageFilePermission.cs
- BitmapEffectDrawing.cs
- GenericRootAutomationPeer.cs
- PassportAuthentication.cs
- SettingsSection.cs
- DerivedKeyCachingSecurityTokenSerializer.cs
- DataTableCollection.cs
- StringConverter.cs
- XmlDataSourceNodeDescriptor.cs
- ProfileSettingsCollection.cs
- HtmlWindowCollection.cs
- WmlControlAdapter.cs
- NameValueSectionHandler.cs
- ExtentKey.cs
- DataConnectionHelper.cs
- Calendar.cs
- TrailingSpaceComparer.cs
- Size3DConverter.cs
- Viewport2DVisual3D.cs
- Boolean.cs
- GlobalizationAssembly.cs
- StringValidator.cs
- RecognizeCompletedEventArgs.cs
- SmtpReplyReader.cs
- HwndKeyboardInputProvider.cs
- NextPreviousPagerField.cs
- SHA512.cs
- WindowsGraphicsCacheManager.cs
- DialogResultConverter.cs
- HttpCapabilitiesBase.cs
- ConvertersCollection.cs
- DynamicPropertyReader.cs
- SafeHandle.cs
- MarkupObject.cs
- XamlBrushSerializer.cs
- CollectionChange.cs
- OperationInvokerTrace.cs
- EnterpriseServicesHelper.cs
- SqlDelegatedTransaction.cs
- WebConvert.cs
- HighContrastHelper.cs
- FusionWrap.cs
- MruCache.cs
- MimeMapping.cs
- Point3DAnimation.cs
- DataGridViewCellStateChangedEventArgs.cs
- PropertyChangeTracker.cs
- ListItemsPage.cs
- SizeAnimationClockResource.cs
- JsonWriterDelegator.cs
- BufferedOutputStream.cs
- KeyTime.cs
- DocumentViewerBaseAutomationPeer.cs
- ProcessHost.cs
- TdsParameterSetter.cs
- nulltextcontainer.cs
- LightweightEntityWrapper.cs
- ToolStripDropTargetManager.cs
- WebResourceAttribute.cs
- serverconfig.cs
- ImageSourceValueSerializer.cs
- _HeaderInfo.cs
- basenumberconverter.cs
- LinkedResourceCollection.cs
- RadioButtonStandardAdapter.cs
- LayoutEditorPart.cs
- DeleteMemberBinder.cs
- GreenMethods.cs
- BooleanStorage.cs
- Expressions.cs
- AssemblyName.cs
- OrderedDictionaryStateHelper.cs
- OdbcConnectionOpen.cs
- NavigationEventArgs.cs
- ChannelEndpointElementCollection.cs
- EdmError.cs
- InstancePersistenceCommand.cs
- SettingsPropertyValueCollection.cs
- DynamicPhysicalDiscoSearcher.cs
- XmlBinaryReader.cs
- ClassicBorderDecorator.cs
- FormsAuthentication.cs
- TreeViewImageKeyConverter.cs
- FilterEventArgs.cs
- TreeNodeEventArgs.cs
- XPathQilFactory.cs
- xmlglyphRunInfo.cs
- CodeTypeReferenceExpression.cs
- IntPtr.cs
- TableLayoutPanelCellPosition.cs