Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / UI / WebControls / SiteMapDataSourceView.cs / 1305376 / SiteMapDataSourceView.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls { using System.Collections; using System.Web; using System.Web.UI; public class SiteMapDataSourceView : DataSourceView { private SiteMapNodeCollection _collection; private SiteMapDataSource _owner; public SiteMapDataSourceView(SiteMapDataSource owner, string name, SiteMapNode node) : base(owner, name) { _owner = owner; _collection = new SiteMapNodeCollection(node); } public SiteMapDataSourceView(SiteMapDataSource owner, string name, SiteMapNodeCollection collection) : base(owner, name) { _owner = owner; _collection = collection; } protected internal override IEnumerable ExecuteSelect(DataSourceSelectArguments arguments) { arguments.RaiseUnsupportedCapabilitiesError(this); return _collection; } protected override void OnDataSourceViewChanged(EventArgs e) { _collection = _owner.GetPathNodeCollection(Name); base.OnDataSourceViewChanged(e); } public IEnumerable Select(DataSourceSelectArguments arguments) { return ExecuteSelect(arguments); } } } // 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
- Vector3DAnimation.cs
- XmlFileEditor.cs
- ComponentGlyph.cs
- FontUnit.cs
- HtmlInputSubmit.cs
- WsatServiceCertificate.cs
- SrgsRulesCollection.cs
- OleCmdHelper.cs
- FormParameter.cs
- RolePrincipal.cs
- _ProxyChain.cs
- DPCustomTypeDescriptor.cs
- StorageRoot.cs
- ExceptionHandler.cs
- Panel.cs
- FixedSOMLineRanges.cs
- PhonemeConverter.cs
- ELinqQueryState.cs
- ToolStripSystemRenderer.cs
- IImplicitResourceProvider.cs
- TemplateControlBuildProvider.cs
- CursorConverter.cs
- ExceptionList.cs
- BitmapEffectDrawingContent.cs
- PerformanceCounterPermissionAttribute.cs
- FileSystemEventArgs.cs
- FilterableAttribute.cs
- _NestedSingleAsyncResult.cs
- CommandDevice.cs
- BaseAsyncResult.cs
- NameValueCache.cs
- Missing.cs
- ValidatedControlConverter.cs
- AmbientValueAttribute.cs
- TokenBasedSet.cs
- ListViewContainer.cs
- ConnectionPoolRegistry.cs
- OrderPreservingPipeliningSpoolingTask.cs
- LabelExpression.cs
- ClientData.cs
- SpotLight.cs
- BitmapPalette.cs
- UInt64.cs
- MetadataPropertyvalue.cs
- AspCompat.cs
- ObjectStateManagerMetadata.cs
- WorkflowDefinitionContext.cs
- SecurityKeyUsage.cs
- Attributes.cs
- DataBoundControl.cs
- RectangleGeometry.cs
- SharedPersonalizationStateInfo.cs
- ValueType.cs
- SrgsDocument.cs
- RepeaterCommandEventArgs.cs
- AssemblyBuilderData.cs
- DataSourceComponent.cs
- DataServiceHostFactory.cs
- ValueQuery.cs
- EncoderNLS.cs
- Currency.cs
- RenderDataDrawingContext.cs
- InternalDuplexChannelFactory.cs
- Int32RectValueSerializer.cs
- ExtendedPropertiesHandler.cs
- SecurityNegotiationException.cs
- EnumerableRowCollection.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- IgnoreDeviceFilterElementCollection.cs
- XmlAttributeAttribute.cs
- Vector3DCollection.cs
- EastAsianLunisolarCalendar.cs
- SystemColorTracker.cs
- XmlSchemaSimpleTypeRestriction.cs
- ImageAttributes.cs
- ColumnHeaderCollectionEditor.cs
- TextRunCacheImp.cs
- PrtCap_Base.cs
- EventProxy.cs
- HttpResponseHeader.cs
- SafeHandle.cs
- ReflectTypeDescriptionProvider.cs
- ListItemDetailViewAttribute.cs
- HTTPAPI_VERSION.cs
- ClientSponsor.cs
- OleCmdHelper.cs
- TextRangeEdit.cs
- IconConverter.cs
- WindowsToolbarAsMenu.cs
- ModuleBuilder.cs
- MouseCaptureWithinProperty.cs
- ProfessionalColors.cs
- HotSpotCollection.cs
- LookupNode.cs
- OdbcConnectionStringbuilder.cs
- WebPartCancelEventArgs.cs
- ComponentDispatcher.cs
- ClockGroup.cs
- MetadataArtifactLoaderCompositeFile.cs
- Opcode.cs