private void Serialize(Call call) { var sampleItem = new SampleItem(1, "Sample Item"); Project.DataApp.Save(sampleItem, call); _items.Add(new ListItem("Sample Item", sampleItem)); }
private void AddEntries(int count) { for (int i = 0; i < count; i++) { int number = _items.Count; var testItem = new TestItem() { Index = number, }; _items.Add(testItem); } }