/// <summary>Initializes the debug view.</summary>
 /// <param name="writeOnceBlock">The WriteOnceBlock to view.</param>
 public DebugView(WriteOnceBlock <T> writeOnceBlock)
 {
     Contract.Requires(writeOnceBlock != null, "Need a block with which to construct the debug view.");
     _writeOnceBlock = writeOnceBlock;
 }
Example #2
0
 /// <summary>Initializes the debug view.</summary>
 /// <param name="writeOnceBlock">The WriteOnceBlock to view.</param>
 public DebugView(WriteOnceBlock <T> writeOnceBlock)
 {
     Debug.Assert(writeOnceBlock != null, "Need a block with which to construct the debug view.");
     _writeOnceBlock = writeOnceBlock;
 }