public static ObservableCollection<SampleDataModel> GetSampleData () { var sampleData = new ObservableCollection<SampleDataModel> (); for (int i = 0; i < 20; i++) { var thisObject = new SampleDataModel (i); sampleData.Add (thisObject); } return sampleData; }
public static ObservableCollection <SampleDataModel> GetSampleData() { var sampleData = new ObservableCollection <SampleDataModel> (); for (int i = 0; i < 20; i++) { var thisObject = new SampleDataModel(i); sampleData.Add(thisObject); } return(sampleData); }