public void SerializeTestLogBig() { var input = new TestLogBig(); input.Child("test"); _serializer.Save(Call, input); TestLogBig output = _serializer.Load <TestLogBig>(Call); }
public void CloneTestLogBig() { var testLog = new TestLogBig(); testLog.Child("test"); var output = _serializer.Clone(log, testLog); }
// Todo: use caller instead public void Child(string name) { var logEntry = new TestLogBig(); //log.Type = logType; //logEntry = new Log(context, contextID, settings, "replacing log with local", new Tag[] { }); if (Items == null) { Items = new ItemCollection <TestLogBig>(); } //if (Items.Count > settings.MaxLogItems) // Items.RemoveAt(0); Items.Add(logEntry); }