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
- SkewTransform.cs
- PropertyConverter.cs
- DataGrid.cs
- DataColumn.cs
- MeasureData.cs
- FontDriver.cs
- HandlerWithFactory.cs
- LayoutEngine.cs
- ListDesigner.cs
- IdleTimeoutMonitor.cs
- UrlMappingCollection.cs
- DataGridViewColumn.cs
- DataServiceResponse.cs
- Scripts.cs
- Dynamic.cs
- DataGridViewCellStyle.cs
- DataGridDefaultColumnWidthTypeConverter.cs
- VisualStyleTypesAndProperties.cs
- HtmlPageAdapter.cs
- RepeaterItemEventArgs.cs
- SiteMapPath.cs
- X509Chain.cs
- AppSettingsExpressionBuilder.cs
- XsdDuration.cs
- DataGridViewRowHeightInfoPushedEventArgs.cs
- Mouse.cs
- CommonEndpointBehaviorElement.cs
- Cursor.cs
- EFTableProvider.cs
- CapabilitiesAssignment.cs
- codemethodreferenceexpression.cs
- DataGridCellsPresenter.cs
- LogReserveAndAppendState.cs
- ProxyElement.cs
- HuffModule.cs
- StreamingContext.cs
- EntityAdapter.cs
- DataSpaceManager.cs
- AssemblyBuilder.cs
- XmlSerializerFaultFormatter.cs
- ExtendedProtectionPolicyElement.cs
- HttpServerChannel.cs
- DBBindings.cs
- InvokeProviderWrapper.cs
- DBSqlParserTable.cs
- FixUpCollection.cs
- PassportPrincipal.cs
- WebPartTransformerCollection.cs
- UnescapedXmlDiagnosticData.cs
- WebPartConnectionsCancelVerb.cs
- ExtensibleClassFactory.cs
- UnknownBitmapDecoder.cs
- DataServiceProviderWrapper.cs
- BitmapEffectOutputConnector.cs
- TimeoutTimer.cs
- SoapSchemaExporter.cs
- IndentedWriter.cs
- PathFigure.cs
- TableProviderWrapper.cs
- BinaryMethodMessage.cs
- UrlAuthorizationModule.cs
- TableRowCollection.cs
- EdmScalarPropertyAttribute.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- ProxyElement.cs
- SystemDiagnosticsSection.cs
- GlobalEventManager.cs
- DecimalConverter.cs
- FieldAccessException.cs
- ConfigurationManagerInternal.cs
- EntityKeyElement.cs
- StreamGeometry.cs
- GridViewRow.cs
- Pair.cs
- FileRegion.cs
- SrgsRulesCollection.cs
- ObjectParameterCollection.cs
- SecurityDescriptor.cs
- OneWayElement.cs
- Track.cs
- Vector3D.cs
- CompilerTypeWithParams.cs
- DocumentXPathNavigator.cs
- DrawingContext.cs
- OracleException.cs
- TextRangeEditTables.cs
- SqlBulkCopyColumnMappingCollection.cs
- MethodImplAttribute.cs
- ArgIterator.cs
- ConfigurationLoaderException.cs
- XmlComment.cs
- DataConnectionHelper.cs
- DataGridRelationshipRow.cs
- TreeNodeStyle.cs
- ComponentRenameEvent.cs
- SignatureDescription.cs
- DataGridViewRow.cs
- Line.cs
- FunctionCommandText.cs
- ToolboxItemFilterAttribute.cs