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
- SqlRowUpdatedEvent.cs
- DataShape.cs
- SqlGatherProducedAliases.cs
- SingleResultAttribute.cs
- FixedBufferAttribute.cs
- ComponentDispatcher.cs
- StandardCommands.cs
- ErrorCodes.cs
- BaseValidator.cs
- LightweightEntityWrapper.cs
- DependsOnAttribute.cs
- ExpressionTable.cs
- ContentFileHelper.cs
- GenericEnumerator.cs
- regiisutil.cs
- UpdatePanelControlTrigger.cs
- AppDomainResourcePerfCounters.cs
- listitem.cs
- Serializer.cs
- Rectangle.cs
- HighlightVisual.cs
- StringFormat.cs
- CheckBoxField.cs
- ComboBox.cs
- ControllableStoryboardAction.cs
- SafeEventLogWriteHandle.cs
- Matrix3D.cs
- xml.cs
- SiteMapProvider.cs
- DataGridViewMethods.cs
- HandlerFactoryCache.cs
- WindowsEditBoxRange.cs
- ContextMenuService.cs
- HttpConfigurationContext.cs
- PointLightBase.cs
- TrackBarDesigner.cs
- DbConnectionPoolGroupProviderInfo.cs
- InfoCardAsymmetricCrypto.cs
- DataPagerFieldItem.cs
- FileSystemEventArgs.cs
- WebServiceReceiveDesigner.cs
- TreeViewItem.cs
- ParameterElement.cs
- PrefixHandle.cs
- MemberInfoSerializationHolder.cs
- ClientUrlResolverWrapper.cs
- RegexMatch.cs
- cookiecontainer.cs
- DeclarativeCatalogPart.cs
- RotateTransform.cs
- BooleanFacetDescriptionElement.cs
- XmlSecureResolver.cs
- DataGridViewRowHeaderCell.cs
- EmptyCollection.cs
- ConnectionManagementElement.cs
- HWStack.cs
- ToolStripSettings.cs
- RegexParser.cs
- ErrorFormatterPage.cs
- TransformerInfoCollection.cs
- PolyQuadraticBezierSegmentFigureLogic.cs
- IisTraceWebEventProvider.cs
- SecurityIdentifierElementCollection.cs
- WsdlImporterElement.cs
- DefaultBinder.cs
- DrawingBrush.cs
- DynamicResourceExtensionConverter.cs
- Keywords.cs
- PolicyImporterElement.cs
- ServiceNotStartedException.cs
- TableLayout.cs
- ListItemsPage.cs
- ListDictionary.cs
- Int32RectValueSerializer.cs
- DataGridViewCellErrorTextNeededEventArgs.cs
- SafeMILHandle.cs
- FormattedText.cs
- HostingMessageProperty.cs
- InstanceOwnerException.cs
- FeatureManager.cs
- ListBindableAttribute.cs
- FutureFactory.cs
- SmtpMail.cs
- ToolStripItemClickedEventArgs.cs
- TextMarkerSource.cs
- ScrollProperties.cs
- ModuleElement.cs
- PackWebRequestFactory.cs
- ApplicationFileParser.cs
- RuleSetCollection.cs
- Rotation3DAnimationUsingKeyFrames.cs
- ListSourceHelper.cs
- DataColumn.cs
- MissingFieldException.cs
- Point4D.cs
- MultiPageTextView.cs
- ModelUIElement3D.cs
- DurableOperationAttribute.cs
- wmiprovider.cs
- XmlWrappingReader.cs