diff options
Diffstat (limited to 'mcs/class/System.Web/System.Web.UI.WebControls/SiteMapDataSource.cs')
-rw-r--r-- | mcs/class/System.Web/System.Web.UI.WebControls/SiteMapDataSource.cs | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/mcs/class/System.Web/System.Web.UI.WebControls/SiteMapDataSource.cs b/mcs/class/System.Web/System.Web.UI.WebControls/SiteMapDataSource.cs index fceea4f2178..d979d84e50c 100644 --- a/mcs/class/System.Web/System.Web.UI.WebControls/SiteMapDataSource.cs +++ b/mcs/class/System.Web/System.Web.UI.WebControls/SiteMapDataSource.cs @@ -52,14 +52,14 @@ namespace System.Web.UI.WebControls return emptyNames; } - public virtual IList GetList () + public IList GetList () { return ListSourceHelper.GetList (this); } - [BrowsableAttribute (false)] - [DesignerSerializationVisibilityAttribute (DesignerSerializationVisibility.Hidden)] - public virtual bool ContainsListCollection { + [BrowsableAttribute (false)]
+ [DesignerSerializationVisibilityAttribute (DesignerSerializationVisibility.Hidden)]
+ public bool ContainsListCollection { get { return ListSourceHelper.ContainsListCollection (this); } } @@ -68,8 +68,8 @@ namespace System.Web.UI.WebControls remove { ((IHierarchicalDataSource)this).DataSourceChanged -= value; } } - [BrowsableAttribute (false)] - [DesignerSerializationVisibilityAttribute (DesignerSerializationVisibility.Hidden)] + [BrowsableAttribute (false)]
+ [DesignerSerializationVisibilityAttribute (DesignerSerializationVisibility.Hidden)]
public SiteMapProvider Provider { get { if (provider == null) { @@ -91,8 +91,8 @@ namespace System.Web.UI.WebControls } } - [DefaultValueAttribute ("")] - public virtual string SiteMapProvider { + [DefaultValueAttribute ("")]
+ public string SiteMapProvider { get { object o = ViewState ["SiteMapProvider"]; if (o != null) return (string) o; @@ -104,10 +104,10 @@ namespace System.Web.UI.WebControls } } - [DefaultValueAttribute ("")] - [EditorAttribute ("System.Web.UI.Design.UrlEditor, " + Consts.AssemblySystem_Design, "System.Drawing.Design.UITypeEditor, " + Consts.AssemblySystem_Drawing)] - [UrlPropertyAttribute] - public virtual string StartingNodeUrl { + [DefaultValueAttribute ("")]
+ [EditorAttribute ("System.Web.UI.Design.UrlEditor, " + Consts.AssemblySystem_Design, "System.Drawing.Design.UITypeEditor, " + Consts.AssemblySystem_Drawing)]
+ [UrlPropertyAttribute]
+ public string StartingNodeUrl { get { object o = ViewState ["StartingNodeUrl"]; if (o != null) return (string) o; @@ -119,8 +119,8 @@ namespace System.Web.UI.WebControls } } - [DefaultValueAttribute (false)] - public virtual bool StartFromCurrentNode { + [DefaultValueAttribute (false)]
+ public bool StartFromCurrentNode { get { object o = ViewState ["StartFromCurrentNode"]; if (o != null) return (bool) o; @@ -132,8 +132,8 @@ namespace System.Web.UI.WebControls } } - [DefaultValueAttribute (true)] - public virtual bool ShowStartingNode { + [DefaultValueAttribute (true)]
+ public bool ShowStartingNode { get { object o = ViewState ["ShowStartingNode"]; if (o != null) return (bool) o; @@ -145,7 +145,7 @@ namespace System.Web.UI.WebControls } } - public virtual DataSourceView GetView (string viewName) + public DataSourceView GetView (string viewName) { SiteMapNode node = GetStartNode (viewName); if (node == null) |