Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / xsp / System / Web / UI / WebControls / ReadOnlyHierarchicalDataSourceView.cs / 1 / ReadOnlyHierarchicalDataSourceView.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls { using System; using System.Collections; using System.Web; using System.Web.UI; using System.Web.Util; ////// This class is used by ReadOnlyHierarchicalDataSource to represent an /// individual view of a generic hierarchical data source. /// internal sealed class ReadOnlyHierarchicalDataSourceView : HierarchicalDataSourceView { private IHierarchicalEnumerable _dataSource; public ReadOnlyHierarchicalDataSourceView(IHierarchicalEnumerable dataSource) { _dataSource = dataSource; } public override IHierarchicalEnumerable Select() { return _dataSource; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls { using System; using System.Collections; using System.Web; using System.Web.UI; using System.Web.Util; ////// This class is used by ReadOnlyHierarchicalDataSource to represent an /// individual view of a generic hierarchical data source. /// internal sealed class ReadOnlyHierarchicalDataSourceView : HierarchicalDataSourceView { private IHierarchicalEnumerable _dataSource; public ReadOnlyHierarchicalDataSourceView(IHierarchicalEnumerable dataSource) { _dataSource = dataSource; } public override IHierarchicalEnumerable Select() { return _dataSource; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- JoinQueryOperator.cs
- FutureFactory.cs
- ToolStripPanelCell.cs
- ThicknessConverter.cs
- TableCellCollection.cs
- EntityDataSourceDesigner.cs
- ToggleButtonAutomationPeer.cs
- SiteOfOriginPart.cs
- BrowserCapabilitiesFactoryBase.cs
- SliderAutomationPeer.cs
- Graph.cs
- OracleColumn.cs
- TiffBitmapEncoder.cs
- MediaElementAutomationPeer.cs
- ObfuscationAttribute.cs
- ForeignConstraint.cs
- FixedNode.cs
- ChangeBlockUndoRecord.cs
- XpsFixedPageReaderWriter.cs
- Thickness.cs
- WindowsGraphicsWrapper.cs
- BinHexDecoder.cs
- RowCache.cs
- Processor.cs
- ReflectionServiceProvider.cs
- EllipseGeometry.cs
- DecodeHelper.cs
- XmlSchemaParticle.cs
- SqlDataSourceFilteringEventArgs.cs
- ping.cs
- CountdownEvent.cs
- XmlDataSourceNodeDescriptor.cs
- ConfigurationErrorsException.cs
- SByteConverter.cs
- TreeBuilderBamlTranslator.cs
- DoWhileDesigner.xaml.cs
- ItemCollection.cs
- TempFiles.cs
- KeyEventArgs.cs
- CharAnimationUsingKeyFrames.cs
- ColorConvertedBitmapExtension.cs
- DesignerDataParameter.cs
- HostingEnvironmentException.cs
- CatalogPart.cs
- Typography.cs
- Types.cs
- PrimitiveCodeDomSerializer.cs
- SectionVisual.cs
- _NestedSingleAsyncResult.cs
- MailBnfHelper.cs
- PageRanges.cs
- RootBrowserWindow.cs
- EntityDataSourceChangedEventArgs.cs
- FamilyMap.cs
- ExpressionHelper.cs
- Animatable.cs
- Overlapped.cs
- StorageInfo.cs
- IndentedWriter.cs
- UInt64.cs
- TextBoxBase.cs
- XmlSchemaFacet.cs
- PrintDialog.cs
- ReadOnlyTernaryTree.cs
- _HeaderInfo.cs
- CommandHelpers.cs
- FileRecordSequenceCompletedAsyncResult.cs
- DesignerTransaction.cs
- XmlSchemaComplexContentRestriction.cs
- DynamicDocumentPaginator.cs
- ToolStripCustomTypeDescriptor.cs
- StringSource.cs
- GrammarBuilderRuleRef.cs
- CacheEntry.cs
- XmlNullResolver.cs
- MessagePartDescription.cs
- webbrowsersite.cs
- SettingsAttributes.cs
- rsa.cs
- ListViewUpdateEventArgs.cs
- SHA1CryptoServiceProvider.cs
- EventLogPermissionEntry.cs
- BaseResourcesBuildProvider.cs
- TextTreeUndoUnit.cs
- CodeLinePragma.cs
- BitVec.cs
- Event.cs
- BindValidationContext.cs
- EnumerableWrapperWeakToStrong.cs
- CapabilitiesState.cs
- HtmlTableRowCollection.cs
- WorkflowApplicationUnloadedException.cs
- SchemaElementLookUpTableEnumerator.cs
- KeyTime.cs
- DiscreteKeyFrames.cs
- Vector3DAnimationUsingKeyFrames.cs
- JsonSerializer.cs
- HandleCollector.cs
- HttpApplicationFactory.cs
- ExpressionNode.cs