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
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Menu.cs
- _NetworkingPerfCounters.cs
- AttributeProviderAttribute.cs
- SafeArrayRankMismatchException.cs
- Selector.cs
- Camera.cs
- CircleHotSpot.cs
- WebPartMovingEventArgs.cs
- SspiNegotiationTokenProviderState.cs
- DataProviderNameConverter.cs
- SpellerHighlightLayer.cs
- Documentation.cs
- ZipIOEndOfCentralDirectoryBlock.cs
- PropertyPushdownHelper.cs
- DebugView.cs
- Menu.cs
- PropertyGridEditorPart.cs
- XmlWriterTraceListener.cs
- MdiWindowListItemConverter.cs
- LZCodec.cs
- WebPartEditorCancelVerb.cs
- Material.cs
- PeerApplicationLaunchInfo.cs
- CacheSection.cs
- FrameworkObject.cs
- AppDomainProtocolHandler.cs
- XPathNodePointer.cs
- DrawingAttributesDefaultValueFactory.cs
- SqlClientMetaDataCollectionNames.cs
- CustomUserNameSecurityTokenAuthenticator.cs
- TrackingSection.cs
- PasswordPropertyTextAttribute.cs
- NameValuePair.cs
- Helper.cs
- SrgsRulesCollection.cs
- CommonGetThemePartSize.cs
- TransformerInfo.cs
- UIPermission.cs
- UndoManager.cs
- ReflectionTypeLoadException.cs
- UpdateCommandGenerator.cs
- JumpList.cs
- ButtonFlatAdapter.cs
- StopStoryboard.cs
- SessionIDManager.cs
- ThreadAbortException.cs
- BodyGlyph.cs
- ViewSimplifier.cs
- ZoneButton.cs
- SmiConnection.cs
- ObjectDataSourceDisposingEventArgs.cs
- ProviderConnectionPoint.cs
- SafeRightsManagementEnvironmentHandle.cs
- PrtCap_Public.cs
- SuppressMessageAttribute.cs
- TextEditorTables.cs
- ThaiBuddhistCalendar.cs
- WorkflowServiceHost.cs
- Material.cs
- ExceptionNotification.cs
- SessionEndingEventArgs.cs
- HwndSourceParameters.cs
- WmlLabelAdapter.cs
- XmlSchemaAttribute.cs
- SizeFConverter.cs
- SystemInformation.cs
- XmlSchemaComplexContentRestriction.cs
- ThreadPool.cs
- ExecutionEngineException.cs
- NameValueCollection.cs
- StreamInfo.cs
- SchemaRegistration.cs
- OracleBFile.cs
- ExpressionBinding.cs
- GridView.cs
- CornerRadiusConverter.cs
- FrugalList.cs
- TextEditorSpelling.cs
- login.cs
- XmlFileEditor.cs
- MarkupWriter.cs
- ControlLocalizer.cs
- FloaterBaseParagraph.cs
- InsufficientMemoryException.cs
- InvalidPrinterException.cs
- ViewBase.cs
- StatusBar.cs
- EdmPropertyAttribute.cs
- QilPatternVisitor.cs
- CreateInstanceBinder.cs
- SchemaMapping.cs
- TypeElementCollection.cs
- WsatTransactionInfo.cs
- DataStreamFromComStream.cs
- ConfigXmlAttribute.cs
- Cursor.cs
- EntityCommandCompilationException.cs
- RoleManagerModule.cs
- ResolvedKeyFrameEntry.cs
- AssemblyAttributes.cs