Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / ndp / fx / src / xsp / System / Web / UI / WebControls / SiteMapHierarchicalDataSourceView.cs / 1 / SiteMapHierarchicalDataSourceView.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls { using System.Collections; using System.Security.Permissions; using System.Web; using System.Web.UI; [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public class SiteMapHierarchicalDataSourceView : HierarchicalDataSourceView { private SiteMapNodeCollection _collection; public SiteMapHierarchicalDataSourceView(SiteMapNode node) { _collection = new SiteMapNodeCollection(node); } public SiteMapHierarchicalDataSourceView(SiteMapNodeCollection collection) { _collection = collection; } public override IHierarchicalEnumerable Select() { return _collection; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls { using System.Collections; using System.Security.Permissions; using System.Web; using System.Web.UI; [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public class SiteMapHierarchicalDataSourceView : HierarchicalDataSourceView { private SiteMapNodeCollection _collection; public SiteMapHierarchicalDataSourceView(SiteMapNode node) { _collection = new SiteMapNodeCollection(node); } public SiteMapHierarchicalDataSourceView(SiteMapNodeCollection collection) { _collection = collection; } public override IHierarchicalEnumerable Select() { return _collection; } } } // 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
- WebWorkflowRole.cs
- MessageDesigner.cs
- ToolboxItemAttribute.cs
- CapabilitiesState.cs
- LocatorPartList.cs
- HuffmanTree.cs
- AssemblyFilter.cs
- ButtonBaseAutomationPeer.cs
- HistoryEventArgs.cs
- JavaScriptString.cs
- RtfControls.cs
- StickyNoteContentControl.cs
- BasicExpandProvider.cs
- InstalledFontCollection.cs
- Comparer.cs
- KeyboardNavigation.cs
- ProxyGenerator.cs
- FormViewUpdatedEventArgs.cs
- DeflateEmulationStream.cs
- RandomNumberGenerator.cs
- URLEditor.cs
- JulianCalendar.cs
- MetaModel.cs
- Task.cs
- ErrorEventArgs.cs
- ConfigLoader.cs
- IDictionary.cs
- X509DefaultServiceCertificateElement.cs
- UpdatePanel.cs
- DesignUtil.cs
- EncodingTable.cs
- FamilyCollection.cs
- TypeExtensions.cs
- ExtenderProvidedPropertyAttribute.cs
- COAUTHIDENTITY.cs
- HtmlElement.cs
- HttpClientCertificate.cs
- TrustManager.cs
- PropertyContainer.cs
- Compilation.cs
- WeakReferenceKey.cs
- CodeGeneratorOptions.cs
- VisualTransition.cs
- UserInitiatedRoutedEventPermission.cs
- VoiceObjectToken.cs
- Selector.cs
- SupportsEventValidationAttribute.cs
- DynamicActionMessageFilter.cs
- CacheVirtualItemsEvent.cs
- AxImporter.cs
- COSERVERINFO.cs
- SqlException.cs
- PropertyEmitter.cs
- Dictionary.cs
- SubclassTypeValidator.cs
- StickyNoteAnnotations.cs
- SqlGatherConsumedAliases.cs
- FileRecordSequenceCompletedAsyncResult.cs
- XPathNodePointer.cs
- MarkupCompiler.cs
- ListItemCollection.cs
- PartManifestEntry.cs
- Base64Encoding.cs
- XDeferredAxisSource.cs
- WebHttpBindingCollectionElement.cs
- IsolatedStorageFile.cs
- EntityDataSourceSelectedEventArgs.cs
- EventDescriptor.cs
- SQLByte.cs
- CompModSwitches.cs
- CultureMapper.cs
- RestClientProxyHandler.cs
- FileUpload.cs
- ExtensionWindowResizeGrip.cs
- AudioFormatConverter.cs
- MsmqInputMessage.cs
- TemplatedAdorner.cs
- LineInfo.cs
- DetailsViewRow.cs
- XPathScanner.cs
- WindowsTooltip.cs
- InlineObject.cs
- _NTAuthentication.cs
- IndexedGlyphRun.cs
- SafeBitVector32.cs
- safemediahandle.cs
- StrokeCollection2.cs
- CustomWebEventKey.cs
- IDReferencePropertyAttribute.cs
- ApplyTemplatesAction.cs
- ExpressionParser.cs
- ReferencedCollectionType.cs
- Utils.cs
- ArglessEventHandlerProxy.cs
- UniqueEventHelper.cs
- HttpStreamFormatter.cs
- PropertiesTab.cs
- Int32AnimationBase.cs
- SqlTypesSchemaImporter.cs
- AuthStoreRoleProvider.cs