Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- ConnectionStringsExpressionBuilder.cs
- SoapSchemaExporter.cs
- WSHttpSecurity.cs
- MarkupWriter.cs
- VisualBasicDesignerHelper.cs
- WindowsUpDown.cs
- RelationshipConverter.cs
- ScaleTransform.cs
- DesignerTextViewAdapter.cs
- TreePrinter.cs
- CriticalHandle.cs
- FunctionImportMapping.ReturnTypeRenameMapping.cs
- GCHandleCookieTable.cs
- SearchForVirtualItemEventArgs.cs
- ScriptBehaviorDescriptor.cs
- XmlProcessingInstruction.cs
- PeerName.cs
- TextSegment.cs
- StaticContext.cs
- DescendantBaseQuery.cs
- ProvidePropertyAttribute.cs
- TrackBarRenderer.cs
- DateTimeConstantAttribute.cs
- DataSourceControl.cs
- WSHttpTransportSecurityElement.cs
- IriParsingElement.cs
- IdleTimeoutMonitor.cs
- DeviceContext2.cs
- SoapExtensionTypeElement.cs
- PageCache.cs
- StorageModelBuildProvider.cs
- Dispatcher.cs
- Page.cs
- EdmPropertyAttribute.cs
- TextUtf8RawTextWriter.cs
- Stackframe.cs
- ConfigurationStrings.cs
- BasicKeyConstraint.cs
- IriParsingElement.cs
- HtmlControl.cs
- DbProviderFactoriesConfigurationHandler.cs
- ResourceReader.cs
- ViewManager.cs
- TaiwanCalendar.cs
- IListConverters.cs
- SerialPinChanges.cs
- SafeFileMappingHandle.cs
- CqlBlock.cs
- MediaTimeline.cs
- NegotiateStream.cs
- FileBasedResourceGroveler.cs
- InstanceLockQueryResult.cs
- OdbcConnectionFactory.cs
- BitmapPalette.cs
- StringResourceManager.cs
- StreamSecurityUpgradeAcceptorAsyncResult.cs
- TraceUtils.cs
- DynamicEndpoint.cs
- PointCollection.cs
- PageContent.cs
- EncoderFallback.cs
- XmlCountingReader.cs
- ParagraphVisual.cs
- UnsafeNativeMethods.cs
- IndexOutOfRangeException.cs
- InstanceHandleConflictException.cs
- ColorKeyFrameCollection.cs
- SystemNetworkInterface.cs
- LayoutEditorPart.cs
- ITreeGenerator.cs
- UIServiceHelper.cs
- X500Name.cs
- Vector3D.cs
- Deflater.cs
- ListItemCollection.cs
- NullExtension.cs
- SystemFonts.cs
- localization.cs
- PopupControlService.cs
- WebServiceBindingAttribute.cs
- IISMapPath.cs
- GlyphsSerializer.cs
- WindowShowOrOpenTracker.cs
- LinqDataSourceValidationException.cs
- UInt64.cs
- PinnedBufferMemoryStream.cs
- LabelInfo.cs
- EmptyStringExpandableObjectConverter.cs
- CngKey.cs
- Authorization.cs
- CompilationSection.cs
- BatchServiceHost.cs
- Membership.cs
- LogFlushAsyncResult.cs
- UserPersonalizationStateInfo.cs
- DrawingCollection.cs
- ButtonBase.cs
- CallSiteBinder.cs
- IndependentlyAnimatedPropertyMetadata.cs
- Events.cs