public void LoadLogFile(string fileName) { Commands = CommandSerializer.DeserializeDocument(fileName); ReplayStarted = true; ReplayIndex = 0; InvokeStateChanged(); }
public void TestDeserialization() { TestSerialization(); XDocument scriptDocument = new XDocument(); //scriptDocument.Load("TestCommandSerialization.xml"); List <CommandBase> deserializeScript = CommandSerializer.DeserializeDocument(scriptDocument); Assert.Inconclusive(); }