mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-16 17:10:20 -10:00
Renamed the `NET_1_2' conditional to `NET_2_0' in all files. svn path=/trunk/mcs/; revision=25877
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_2_0
|
|
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
|
|
|