Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
13 lines (12 sloc) 337 Bytes
using System.IO;
using Microsoft.VisualStudio.DebuggerVisualizers;
namespace Moq.Visualizer
{
public class MockVisualizerObjectSource : VisualizerObjectSource
{
public override void GetData(object target, Stream outgoingData)
{
VisualizerObjectSource.Serialize(outgoingData, new MockContextViewModel((Mock)target));
}
}
}