2 instantiations of SiteMapNode
System.Web (2)
SiteMapNode.cs (1)
415
SiteMapNode newNode = new
SiteMapNode
(_provider, Key, Url, Title, Description, newRoles, newAttributes, newResourceKeys, _resourceKey);
XmlSiteMapProvider.cs (1)
805
node = new
SiteMapNode
(this, key, url, title, description, roleList, attributeCollection, resourceKeyCollection, resourceKey);
173 references to SiteMapNode
System.Web (173)
SiteMap.cs (4)
34
public static
SiteMapNode
CurrentNode {
70
public static
SiteMapNode
RootNode {
73
SiteMapNode
rootNode = rootProvider.RootNode;
169
public delegate
SiteMapNode
SiteMapResolveEventHandler(Object sender, SiteMapResolveEventArgs e);
SiteMapNode.cs (23)
33
private static readonly string _siteMapNodeType = typeof(
SiteMapNode
).Name;
52
private
SiteMapNode
_parentNode;
207
public virtual
SiteMapNode
NextSibling {
216
return (
SiteMapNode
)siblings[index + 1];
224
public virtual
SiteMapNode
ParentNode {
241
public virtual
SiteMapNode
PreviousSibling {
250
return (
SiteMapNode
)siblings[index - 1];
298
public virtual
SiteMapNode
RootNode {
300
SiteMapNode
root = _provider.RootProvider.RootNode;
312
SiteMapNode
parent = ParentNode;
400
public virtual
SiteMapNode
Clone() {
415
SiteMapNode
newNode = new SiteMapNode(_provider, Key, Url, Title, Description, newRoles, newAttributes, newResourceKeys, _resourceKey);
419
public virtual
SiteMapNode
Clone(bool cloneParentNodes) {
420
SiteMapNode
current = Clone();
423
SiteMapNode
node = current;
424
SiteMapNode
parent = ParentNode;
426
SiteMapNode
cloneParent = parent.Clone();
439
SiteMapNode
node = obj as
SiteMapNode
;
455
foreach(
SiteMapNode
node in childNodes)
525
public virtual bool IsDescendantOf(
SiteMapNode
node) {
526
SiteMapNode
parent = ParentNode;
592
SiteMapNode
parentNode = ParentNode;
SiteMapNodeCollection.cs (25)
35
public SiteMapNodeCollection(
SiteMapNode
value) {
45
public SiteMapNodeCollection(
SiteMapNode
[] value) {
105
public virtual
SiteMapNode
this[int index] {
107
return (
SiteMapNode
)List[index];
118
public virtual int Add(
SiteMapNode
value) {
126
public virtual void AddRange(
SiteMapNode
[] value) {
147
public virtual bool Contains(
SiteMapNode
value) {
152
public virtual void CopyTo(
SiteMapNode
[] array, int index) {
179
public virtual int IndexOf(
SiteMapNode
value) {
184
public virtual void Insert(int index,
SiteMapNode
value) {
198
if (!(value is
SiteMapNode
)) {
214
public virtual void Remove(
SiteMapNode
value) {
283
this[index] = (
SiteMapNode
)value;
289
return Add((
SiteMapNode
)value);
298
return Contains((
SiteMapNode
)value);
303
return IndexOf((
SiteMapNode
)value);
308
Insert(index, (
SiteMapNode
)value);
313
Remove((
SiteMapNode
)value);
359
public override int Add(
SiteMapNode
value) {
364
public override void AddRange(
SiteMapNode
[] value) {
377
public override bool Contains(
SiteMapNode
node) {
385
public override
SiteMapNode
this[int index] {
398
public override int IndexOf(
SiteMapNode
value) {
402
public override void Insert(int index,
SiteMapNode
value) {
406
public override void Remove(
SiteMapNode
value) {
SiteMapProvider.cs (34)
36
public virtual
SiteMapNode
CurrentNode {
39
SiteMapNode
result = null;
106
public virtual
SiteMapNode
RootNode {
108
SiteMapNode
node = GetRootNodeCore();
124
protected virtual void AddNode(
SiteMapNode
node) {
128
protected internal virtual void AddNode(
SiteMapNode
node,
SiteMapNode
parentNode) {
132
public virtual
SiteMapNode
FindSiteMapNode(HttpContext context) {
139
SiteMapNode
result = null;
171
public virtual
SiteMapNode
FindSiteMapNodeFromKey(string key) {
175
public abstract
SiteMapNode
FindSiteMapNode(string rawUrl);
177
public abstract SiteMapNodeCollection GetChildNodes(
SiteMapNode
node);
179
public virtual
SiteMapNode
GetCurrentNodeAndHintAncestorNodes(int upLevel) {
187
public virtual
SiteMapNode
GetCurrentNodeAndHintNeighborhoodNodes(int upLevel, int downLevel) {
199
public abstract
SiteMapNode
GetParentNode(
SiteMapNode
node);
201
public virtual
SiteMapNode
GetParentNodeRelativeToCurrentNodeAndHintDownFromParent (
213
SiteMapNode
currentNode = GetCurrentNodeAndHintAncestorNodes(walkupLevels);
221
SiteMapNode
targetNode = GetParentNodesInternal(currentNode, walkupLevels);
233
public virtual
SiteMapNode
GetParentNodeRelativeToNodeAndHintDownFromParent(
234
SiteMapNode
node, int walkupLevels, int relativeDepthFromWalkup) {
252
SiteMapNode
ancestorNode = GetParentNodesInternal(node, walkupLevels);
264
private
SiteMapNode
GetParentNodesInternal(
SiteMapNode
node, int walkupLevels) {
285
protected internal abstract
SiteMapNode
GetRootNodeCore();
287
protected static
SiteMapNode
GetRootNodeCoreFromProvider(SiteMapProvider provider) {
291
public virtual void HintAncestorNodes(
SiteMapNode
node, int upLevel) {
301
public virtual void HintNeighborhoodNodes(
SiteMapNode
node, int upLevel, int downLevel) {
328
public virtual bool IsAccessibleToUser(HttpContext context,
SiteMapNode
node) {
361
protected internal virtual void RemoveNode(
SiteMapNode
node) {
365
protected
SiteMapNode
ResolveSiteMapNode(HttpContext context) {
377
SiteMapNode
ret = ((SiteMapResolveEventHandler)ds[i])(this, new SiteMapResolveEventArgs(context, this));
391
internal
SiteMapNode
ReturnNodeIfAccessible(
SiteMapNode
node) {
StaticSiteMapProvider.cs (22)
93
protected internal override void AddNode(
SiteMapNode
node,
SiteMapNode
parentNode) {
144
public abstract
SiteMapNode
BuildSiteMap();
166
public override
SiteMapNode
FindSiteMapNodeFromKey(string key) {
167
SiteMapNode
result = base.FindSiteMapNodeFromKey(key);
170
result = (
SiteMapNode
)KeyTable[key];
178
public override
SiteMapNode
FindSiteMapNode(string rawUrl) {
196
return ReturnNodeIfAccessible((
SiteMapNode
)UrlTable[rawUrl]);
201
public override SiteMapNodeCollection GetChildNodes(
SiteMapNode
node) {
209
SiteMapNode
childNodeFromKey = (
SiteMapNode
)KeyTable[node.Key];
222
foreach (
SiteMapNode
subNode in collection) {
235
public override
SiteMapNode
GetParentNode(
SiteMapNode
node) {
240
SiteMapNode
parent = (
SiteMapNode
)ParentNodeTable[node];
244
SiteMapNode
fallbackNode = (
SiteMapNode
)KeyTable[node.Key];
246
parent = (
SiteMapNode
)ParentNodeTable[fallbackNode];
259
protected internal override void RemoveNode(
SiteMapNode
node) {
264
SiteMapNode
oldParent = (
SiteMapNode
)ParentNodeTable[node];
UI\WebControls\Menu.cs (1)
1405
SiteMapNode
currentNode = siteMapDataSource.Provider.CurrentNode;
UI\WebControls\SiteMapDataSource.cs (8)
202
SiteMapNode
node = null;
231
SiteMapNode
parentNode = node.ParentNode;
243
SiteMapNode
currentNode = Provider.GetCurrentNodeAndHintAncestorNodes(-1);
250
SiteMapNode
leadingNode = currentNode;
263
SiteMapNode
followingNode = currentNode;
272
private SiteMapNodeCollection GetNodes(
SiteMapNode
node) {
305
SiteMapNode
node = Provider.FindSiteMapNodeFromKey(viewPath);
320
SiteMapNode
node = null;
UI\WebControls\SiteMapDataSourceView.cs (1)
18
public SiteMapDataSourceView(SiteMapDataSource owner, string name,
SiteMapNode
node) : base(owner, name) {
UI\WebControls\SiteMapHierarchicalDataSourceView.cs (1)
17
public SiteMapHierarchicalDataSourceView(
SiteMapNode
node) {
UI\WebControls\SiteMapNodeItem.cs (3)
15
/// <para>Represents a <see cref='System.Web.
SiteMapNode
'/></para>
24
private
SiteMapNode
_siteMapNode;
39
public virtual
SiteMapNode
SiteMapNode {
UI\WebControls\SiteMapPath.cs (6)
444
SiteMapNode
currentNode = Provider.GetCurrentNodeAndHintAncestorNodes(-1);
446
SiteMapNode
parentNode = currentNode.ParentNode;
455
private void CreateControlHierarchyRecursive(ref int index,
SiteMapNode
node, int parentLevels) {
459
SiteMapNode
parentNode = node.ParentNode;
471
private SiteMapNodeItem CreateItem(int itemIndex, SiteMapNodeItemType itemType,
SiteMapNode
node) {
546
SiteMapNode
node = item.SiteMapNode;
XmlSiteMapProvider.cs (45)
42
private
SiteMapNode
_siteMapNode;
100
public override
SiteMapNode
RootNode {
103
SiteMapNode
node = ReturnNodeIfAccessible(_siteMapNode);
108
public override
SiteMapNode
CurrentNode {
114
public override
SiteMapNode
GetParentNode(
SiteMapNode
node) {
115
SiteMapNode
parentNode = base.GetParentNode(node);
119
public override SiteMapNodeCollection GetChildNodes(
SiteMapNode
node) {
131
foreach (
SiteMapNode
n in subNodes) {
138
protected internal override void AddNode(
SiteMapNode
node,
SiteMapNode
parentNode) {
165
private void AddNodeInternal(
SiteMapNode
node,
SiteMapNode
parentNode, XmlNode xmlNode) {
220
protected virtual void AddProvider(string providerName,
SiteMapNode
parentNode) {
229
SiteMapNode
node = GetNodeFromProvider(providerName);
236
public override
SiteMapNode
BuildSiteMap() {
238
SiteMapNode
tempNode = _siteMapNode;
353
private
SiteMapNode
ConvertFromXmlNode(Queue queue) {
355
SiteMapNode
rootNode = null;
361
SiteMapNode
parentNode = (
SiteMapNode
)queue.Dequeue();
364
SiteMapNode
node = null;
416
SiteMapNode
oldNode = (
SiteMapNode
)ChildProviderTable[childProvider];
418
SiteMapNode
newNode = childProvider.GetRootNodeCore();
433
oldNode = (
SiteMapNode
)ChildProviderTable[childProvider];
460
SiteMapNode
parent = (
SiteMapNode
)ParentNodeTable[oldNode];
507
public override
SiteMapNode
FindSiteMapNode(string rawUrl) {
508
SiteMapNode
node = base.FindSiteMapNode(rawUrl);
526
public override
SiteMapNode
FindSiteMapNodeFromKey(string key) {
527
SiteMapNode
node = base.FindSiteMapNodeFromKey(key);
600
private
SiteMapNode
GetNodeFromProvider(string providerName) {
602
SiteMapNode
node = null;
640
private
SiteMapNode
GetNodeFromSiteMapFile(XmlNode xmlNode, VirtualPath siteMapFile) {
642
SiteMapNode
node = null;
724
private
SiteMapNode
GetNodeFromXmlNode(XmlNode xmlNode, Queue queue) {
725
SiteMapNode
node = null;
830
protected internal override
SiteMapNode
GetRootNodeCore() {
881
protected internal override void RemoveNode(
SiteMapNode
node) {
923
SiteMapNode
rootNode = (
SiteMapNode
)ChildProviderTable[provider];
952
private static
SiteMapNode
ApplyModifierIfExists(
SiteMapNode
node) {
961
SiteMapNode
resultNode = node.Clone();