Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / UI / WebControls / ReadOnlyHierarchicalDataSourceView.cs / 1305376 / 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
- DeviceContext2.cs
- PagePropertiesChangingEventArgs.cs
- _IPv4Address.cs
- UnknownBitmapDecoder.cs
- TokenBasedSetEnumerator.cs
- ErrorWebPart.cs
- PriorityQueue.cs
- StdRegProviderWrapper.cs
- ByteAnimationUsingKeyFrames.cs
- CodePropertyReferenceExpression.cs
- InteropAutomationProvider.cs
- AttachedAnnotation.cs
- DesignerWebPartChrome.cs
- altserialization.cs
- DrawListViewItemEventArgs.cs
- WebPartsPersonalization.cs
- SpotLight.cs
- ThrowHelper.cs
- MessageQueueAccessControlEntry.cs
- SqlDataSourceQueryEditorForm.cs
- PrintDialogException.cs
- PieceNameHelper.cs
- Literal.cs
- Triangle.cs
- FileLogRecordStream.cs
- Blend.cs
- PaperSize.cs
- UserNameSecurityTokenAuthenticator.cs
- ConfigurationPermission.cs
- SqlInternalConnectionTds.cs
- BitmapEffectInputData.cs
- KeyValueInternalCollection.cs
- RemotingSurrogateSelector.cs
- ClientConvert.cs
- ImageListUtils.cs
- PrintPageEvent.cs
- TextFragmentEngine.cs
- CursorInteropHelper.cs
- TextBoxBase.cs
- SqlConnection.cs
- ReservationCollection.cs
- ToolZoneDesigner.cs
- ErrorWebPart.cs
- OleDbTransaction.cs
- SafeRegistryKey.cs
- SubpageParaClient.cs
- ElapsedEventArgs.cs
- IsolatedStoragePermission.cs
- Debug.cs
- LockCookie.cs
- SessionEndedEventArgs.cs
- NullableConverter.cs
- DrawingAttributeSerializer.cs
- WebPartsPersonalizationAuthorization.cs
- CapabilitiesPattern.cs
- RTLAwareMessageBox.cs
- Byte.cs
- DataControlReferenceCollection.cs
- DataListItemCollection.cs
- NTAccount.cs
- PrintingPermission.cs
- WebPartTracker.cs
- basemetadatamappingvisitor.cs
- EncryptedKey.cs
- FontResourceCache.cs
- SafeProcessHandle.cs
- SettingsContext.cs
- BitmapEffectInput.cs
- HttpEncoder.cs
- RecordsAffectedEventArgs.cs
- CheckPair.cs
- XmlBinaryWriterSession.cs
- ChangeNode.cs
- SupportingTokenSpecification.cs
- OperationAbortedException.cs
- SqlDelegatedTransaction.cs
- Preprocessor.cs
- SponsorHelper.cs
- RectangleHotSpot.cs
- ViewPort3D.cs
- XmlSchemaCompilationSettings.cs
- XmlSchemaExternal.cs
- MenuAdapter.cs
- NativeMethods.cs
- PeerInvitationResponse.cs
- JavascriptXmlWriterWrapper.cs
- BaseTemplateCodeDomTreeGenerator.cs
- SessionPageStateSection.cs
- HttpModulesSection.cs
- DesignerSerializationVisibilityAttribute.cs
- LifetimeManager.cs
- HttpRequest.cs
- StaticTextPointer.cs
- EntityViewGenerationConstants.cs
- EntityDataSourceChangingEventArgs.cs
- FrameworkObject.cs
- SerializationException.cs
- ConstructorArgumentAttribute.cs
- DataServiceStreamProviderWrapper.cs
- TextDecorationCollection.cs