Created
February 13, 2018 21:52
-
-
Save markgould/cbce26c699a003bc4a4fdb16e4d2c0f9 to your computer and use it in GitHub Desktop.
TrackerDog Repro
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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