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
- DataGridHeaderBorder.cs
- SqlBuffer.cs
- ProtocolsConfigurationHandler.cs
- FontStretch.cs
- RoutingTable.cs
- CompModHelpers.cs
- Control.cs
- ConnectionPointCookie.cs
- TypeDelegator.cs
- OleDbSchemaGuid.cs
- TimerElapsedEvenArgs.cs
- ACE.cs
- TouchDevice.cs
- SqlDeflator.cs
- SecurityRuntime.cs
- Schema.cs
- CompilerCollection.cs
- SafeLibraryHandle.cs
- FixedDocumentPaginator.cs
- ListBoxItemWrapperAutomationPeer.cs
- SpecularMaterial.cs
- FieldAccessException.cs
- QueueTransferProtocol.cs
- BaseValidator.cs
- WebScriptServiceHost.cs
- EventDriven.cs
- TryCatchDesigner.xaml.cs
- ADRoleFactoryConfiguration.cs
- WebPartHeaderCloseVerb.cs
- BrowserCapabilitiesFactory35.cs
- SqlSelectStatement.cs
- DiagnosticSection.cs
- TypefaceMap.cs
- DefaultAsyncDataDispatcher.cs
- WindowsScrollBar.cs
- SessionStateItemCollection.cs
- DispatcherTimer.cs
- StoragePropertyMapping.cs
- MD5.cs
- ItemsControl.cs
- FirewallWrapper.cs
- SingleAnimationBase.cs
- DataGrid.cs
- RequestStatusBarUpdateEventArgs.cs
- DNS.cs
- CompilationUtil.cs
- SoapServerProtocol.cs
- CodeExpressionCollection.cs
- XPathNode.cs
- EmbeddedMailObjectsCollection.cs
- PrefixQName.cs
- WindowsSecurityTokenAuthenticator.cs
- ExpressionBinding.cs
- UriTemplatePathSegment.cs
- DiscreteKeyFrames.cs
- CompositeDataBoundControl.cs
- DirectoryObjectSecurity.cs
- DataGridItemEventArgs.cs
- SerializationHelper.cs
- TableLayoutPanelCellPosition.cs
- httpapplicationstate.cs
- WebPartTransformerCollection.cs
- ChannelTokenTypeConverter.cs
- DocumentViewerAutomationPeer.cs
- CodeObjectCreateExpression.cs
- Scheduler.cs
- GZipStream.cs
- InputScopeConverter.cs
- OleDbConnectionInternal.cs
- _SingleItemRequestCache.cs
- SingleAnimationBase.cs
- ListDictionary.cs
- TemplateNameScope.cs
- EventLog.cs
- OciLobLocator.cs
- FileRecordSequenceCompletedAsyncResult.cs
- HttpPostedFile.cs
- AnnotationResource.cs
- NameObjectCollectionBase.cs
- GradientStopCollection.cs
- ObjectListSelectEventArgs.cs
- HttpValueCollection.cs
- TableParagraph.cs
- InfoCardRSAPKCS1KeyExchangeFormatter.cs
- Request.cs
- EntityType.cs
- PolicyManager.cs
- ScrollItemProviderWrapper.cs
- SqlClientWrapperSmiStream.cs
- ipaddressinformationcollection.cs
- NetworkInformationException.cs
- TabletDevice.cs
- brushes.cs
- UnionCodeGroup.cs
- SizeAnimationBase.cs
- BufferBuilder.cs
- PerfCounters.cs
- StorageAssociationSetMapping.cs
- ConfigXmlCDataSection.cs
- ResourceManager.cs