mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-17 11:21:39 -10:00
* SiteMapNode.cs (GetDataSourceView): Implement. * SiteMapProvider.cs: Typo fixing. * XmlSiteMapProvider.cs: We shouldnt resolve here. 2003-11-08 Ben Maurer <[email protected]> * DataSourceView.cs: * IDataSource.cs: * ListSourceHelper.cs: * DataSourceControl.cs: * HierarchicalDataSourceView.cs: * IHierarchicalDataSource.cs: Move v2 stuff. 2003-11-08 Ben Maurer <[email protected]> * SiteMapDataSourceView.cs: Implement. svn path=/trunk/mcs/; revision=19754
32 lines
695 B
C#
32 lines
695 B
C#
//
|
|
// System.Web.UI.WebControls.SiteMapDataSourceView
|
|
//
|
|
// Authors:
|
|
// Ben Maurer ([email protected])
|
|
//
|
|
// (C) 2003 Ben Maurer
|
|
//
|
|
|
|
#if NET_1_2
|
|
using System.Collections;
|
|
using System.Collections.Specialized;
|
|
using System.Text;
|
|
|
|
namespace System.Web.UI.WebControls {
|
|
public class SiteMapDataSourceView : HierarchicalDataSourceView {
|
|
public SiteMapDataSourceView (SiteMapNode node) : this (new SiteMapNodeCollection (node)) {}
|
|
public SiteMapDataSourceView (SiteMapNodeCollection collection)
|
|
{
|
|
this.collection = collection;
|
|
}
|
|
public override IHierarchicalEnumerable GetHierarchicalList ()
|
|
{
|
|
return collection;
|
|
}
|
|
|
|
SiteMapNodeCollection collection;
|
|
}
|
|
}
|
|
#endif
|
|
|