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;
		}
示例#2
0
        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);
        }