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
- serverconfig.cs
- SmiEventStream.cs
- MetadataArtifactLoader.cs
- TreeBuilderXamlTranslator.cs
- FlowLayout.cs
- DataGridViewSelectedRowCollection.cs
- ZipPackagePart.cs
- DataStorage.cs
- SqlDependencyListener.cs
- MetadataException.cs
- FormViewInsertedEventArgs.cs
- WindowHideOrCloseTracker.cs
- IntSecurity.cs
- AttachedPropertyBrowsableForChildrenAttribute.cs
- WebBrowserBase.cs
- PenLineCapValidation.cs
- InputBuffer.cs
- EventLogPermission.cs
- EntityDataSourceConfigureObjectContextPanel.cs
- DesignerVerbToolStripMenuItem.cs
- DefaultHttpHandler.cs
- StringSource.cs
- StatusBarPanelClickEvent.cs
- RunInstallerAttribute.cs
- CriticalExceptions.cs
- Point3DKeyFrameCollection.cs
- BounceEase.cs
- TemplateNodeContextMenu.cs
- WindowsTooltip.cs
- XmlIlVisitor.cs
- SqlTransaction.cs
- Scene3D.cs
- KeysConverter.cs
- ContainerUIElement3D.cs
- Journaling.cs
- WebRequestModuleElementCollection.cs
- RelatedEnd.cs
- Constants.cs
- DelayedRegex.cs
- RbTree.cs
- localization.cs
- SqlSelectStatement.cs
- RTLAwareMessageBox.cs
- MasterPage.cs
- Method.cs
- UnitySerializationHolder.cs
- RelationHandler.cs
- EntityClientCacheKey.cs
- QueryResults.cs
- TypeDependencyAttribute.cs
- TextRenderer.cs
- InputScopeNameConverter.cs
- TextOnlyOutput.cs
- CodeDomDecompiler.cs
- XPathScanner.cs
- DisposableCollectionWrapper.cs
- XmlSiteMapProvider.cs
- NameObjectCollectionBase.cs
- VScrollProperties.cs
- URL.cs
- ApplicationDirectory.cs
- FunctionQuery.cs
- PeerNodeTraceRecord.cs
- dsa.cs
- Inline.cs
- HttpServerVarsCollection.cs
- CompositeControlDesigner.cs
- ViewService.cs
- MetaDataInfo.cs
- DataBindingList.cs
- EntityWithKeyStrategy.cs
- CacheSection.cs
- XhtmlBasicTextBoxAdapter.cs
- CalendarDay.cs
- IPipelineRuntime.cs
- TextElementEnumerator.cs
- AppModelKnownContentFactory.cs
- HwndHost.cs
- HtmlWindow.cs
- EnvelopedSignatureTransform.cs
- HatchBrush.cs
- FloatMinMaxAggregationOperator.cs
- DrawingState.cs
- DetailsViewModeEventArgs.cs
- ChangeInterceptorAttribute.cs
- DataGridState.cs
- SharedDp.cs
- DataGridCellEditEndingEventArgs.cs
- ToolTip.cs
- UndoEngine.cs
- IPEndPointCollection.cs
- XPathCompiler.cs
- TypeUsageBuilder.cs
- OdbcConnectionOpen.cs
- SecurityImpersonationBehavior.cs
- FixedPosition.cs
- TextSearch.cs
- XPathAxisIterator.cs
- DbParameterCollection.cs
- DrawToolTipEventArgs.cs