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 / 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. // //----------------------------------------------------------------------------- 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- UIServiceHelper.cs
- HttpDebugHandler.cs
- FixedSOMTableCell.cs
- CategoryList.cs
- VerificationException.cs
- UserPreferenceChangingEventArgs.cs
- OrderedEnumerableRowCollection.cs
- DrawingContextDrawingContextWalker.cs
- DbConnectionPoolOptions.cs
- InternalConfigRoot.cs
- PropertyOverridesDialog.cs
- Material.cs
- NotificationContext.cs
- UnsafeCollabNativeMethods.cs
- SafeCryptoHandles.cs
- BufferedReadStream.cs
- SystemFonts.cs
- MDIControlStrip.cs
- ParallelEnumerable.cs
- PageContentAsyncResult.cs
- HttpStaticObjectsCollectionWrapper.cs
- ConnectionInterfaceCollection.cs
- XmlStreamStore.cs
- CookieProtection.cs
- DBDataPermission.cs
- RangeContentEnumerator.cs
- SqlDataSourceSelectingEventArgs.cs
- ConfigurationSectionHelper.cs
- COM2ExtendedTypeConverter.cs
- cryptoapiTransform.cs
- DbMetaDataColumnNames.cs
- OdbcEnvironmentHandle.cs
- ReturnEventArgs.cs
- PropertyTab.cs
- DbConnectionClosed.cs
- RequestSecurityTokenForGetBrowserToken.cs
- StreamUpgradeProvider.cs
- DocumentXmlWriter.cs
- SqlAliaser.cs
- Point3DValueSerializer.cs
- MarshalByRefObject.cs
- ColumnReorderedEventArgs.cs
- ValuePattern.cs
- ResourceManager.cs
- SQLChars.cs
- XmlWrappingWriter.cs
- DelegatedStream.cs
- DisableDpiAwarenessAttribute.cs
- DataServiceQueryOfT.cs
- ADConnectionHelper.cs
- UTF8Encoding.cs
- ProfilePropertySettings.cs
- MimePart.cs
- ToolStripItemCollection.cs
- MessageEnumerator.cs
- CollectionChangeEventArgs.cs
- DateTimeValueSerializerContext.cs
- Attributes.cs
- util.cs
- RealizationDrawingContextWalker.cs
- TypeNameConverter.cs
- DataControlFieldCollection.cs
- XmlMtomWriter.cs
- MetricEntry.cs
- Selector.cs
- HtmlEmptyTagControlBuilder.cs
- AuthorizationRule.cs
- TracingConnectionListener.cs
- DataGridDefaultColumnWidthTypeConverter.cs
- FlagsAttribute.cs
- CodeArrayCreateExpression.cs
- TypefaceMetricsCache.cs
- FileUpload.cs
- DoubleAnimationBase.cs
- WebPartsSection.cs
- MultiplexingDispatchMessageFormatter.cs
- ZoneButton.cs
- CacheForPrimitiveTypes.cs
- ChildTable.cs
- DesignerTransactionCloseEvent.cs
- WhereQueryOperator.cs
- TypeHelpers.cs
- SecurityTokenSerializer.cs
- IteratorFilter.cs
- TreeNodeBindingCollection.cs
- DebugView.cs
- UnmanagedMemoryStreamWrapper.cs
- DataGridViewAccessibleObject.cs
- ProxyHwnd.cs
- PropertyRef.cs
- WmpBitmapEncoder.cs
- GridEntry.cs
- DispatcherFrame.cs
- StringBlob.cs
- EpmSourceTree.cs
- PolicyManager.cs
- ConditionalExpression.cs
- ModelFactory.cs
- RegexFCD.cs
- DebugView.cs