Skip to content

Instantly share code, notes, and snippets.

@markgould
Created February 13, 2018 21:52
Show Gist options
  • Save markgould/cbce26c699a003bc4a4fdb16e4d2c0f9 to your computer and use it in GitHub Desktop.
Save markgould/cbce26c699a003bc4a4fdb16e4d2c0f9 to your computer and use it in GitHub Desktop.
TrackerDog Repro
using System.Collections.Generic;
using TrackerDog;
namespace TrackerDogRepro
{
public class Program
{
public class Test
{
public virtual List<string> Items { get; set; }
}
static void Main(string[] args)
{
var config = ObjectChangeTracking.CreateConfiguration();
config.TrackThisType<Test>();
var factory = config.CreateTrackableObjectFactory();
var tracked = factory.CreateFrom(new Test());
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment