@@ -11,19 +11,21 @@ public interface INodeInfoReader
1111 /// Used to print custom informations about a node.
1212 /// </summary>
1313 /// <param name="node">The node.</param>
14- /// <param name="nodeAddress">The absolute address of the node.</param>
15- /// /// <param name="nodeValue">The memory value of the node as <see cref="IntPtr"/>.</param>
14+ /// <param name="reader">The current <see cref="IRemoteMemoryReader"/>.</param>
1615 /// <param name="memory">The current <see cref="MemoryBuffer"/>.</param>
16+ /// <param name="nodeAddress">The absolute address of the node.</param>
17+ /// <param name="nodeValue">The memory value of the node as <see cref="IntPtr"/>.</param>
1718 /// <returns>Custom informations about the node or null.</returns>
18- string ReadNodeInfo ( BaseHexCommentNode node , IntPtr nodeAddress , IntPtr nodeValue , MemoryBuffer memory ) ;
19+ string ReadNodeInfo ( BaseHexCommentNode node , IRemoteMemoryReader reader , MemoryBuffer memory , IntPtr nodeAddress , IntPtr nodeValue ) ;
1920 }
2021
2122 [ ContractClassFor ( typeof ( INodeInfoReader ) ) ]
2223 internal abstract class NodeInfoReaderContract : INodeInfoReader
2324 {
24- public string ReadNodeInfo ( BaseHexCommentNode node , IntPtr nodeAddress , IntPtr nodeValue , MemoryBuffer memory )
25+ public string ReadNodeInfo ( BaseHexCommentNode node , IRemoteMemoryReader reader , MemoryBuffer memory , IntPtr nodeAddress , IntPtr nodeValue )
2526 {
2627 Contract . Requires ( node != null ) ;
28+ Contract . Requires ( reader != null ) ;
2729 Contract . Requires ( memory != null ) ;
2830
2931 throw new NotImplementedException ( ) ;
0 commit comments