public class Node<K,T>

Summary

Code examples from http://msdn2.microsoft.com/en-us/library/ms379564(vs.80).aspx

Field Summary

Flags Type Name Summary
public T Item

Item field

public K Key

Key field

public Node<K,T> NextNode

Link to next element in list

Constructor Summary

Flags Name Summary
public Node(K key, T item, Node<K,T> nextNode)

Full ctor

public Node()

Default ctor

Method Summary

Flags Name Summary
public Node<K,T> Clone()

Typesafe clone.

private virtual final object System.ICloneable.Clone()

Implement ICloneable.Clone by delegating to our type-safe variant.

Field Detail

public T Item

Summary

Item field

public K Key

Summary

Key field

public Node<K,T> NextNode

Summary

Link to next element in list

Constructor Detail

Node

public Node(K key, T item, Node<K,T> nextNode)

Parameters
Name Type
key K
item T
nextNode Node<K,T>

Summary

Full ctor

Node

public Node()

Summary

Default ctor

Method Detail

Clone

public Node<K,T> Clone()

Flags public
Return type Node<K,T>

Summary

Typesafe clone.

System.ICloneable.Clone

private virtual final object System.ICloneable.Clone()

Flags private virtual final
Return type object

Summary

Implement ICloneable.Clone by delegating to our type-safe variant.

Remarks

MCS (and possibly CSC also) is buggy. The emitted documentation XML file refers to this method as M:net.lshift.ndocproc.examples.twopointoh.Node`2.System.ICloneable.Clone when implemented as System.ICloneable.Clone (in so many words), and as M:net.lshift.ndocproc.examples.twopointoh.Node`2.ICloneable.Clone when implemented as ICloneable.Clone. It shouldn't matter which name it's implemented under - the compiler should fully-qualify the method name before emitting the documentation XML - but since there's no clean way of guessing the actual identifier used by the author of a piece of code (other than perhaps laboriously guessing and checking against the actual emitted XML), NDocProc ignores the problem and relies on code authors to write the fully-qualified names in order to find the appropriate documentation stanza.