コード例 #1
0
        /// <summary>
        /// Uses the SeedService to load the seeds for a specific seed type.
        /// For testing purposes the SeedTestService is used with preloaded seeds.
        /// The SeedDBService will be used to connect to a local Sqlite Database.
        /// The SeedApiService will be used to connect to an api to pull the seed types.
        /// </summary>
        private async void LoadSeeds()
        {
            IList <Seed> temp = await _seedService.GetList(GetSeedTypeParameter());

            OCSeedList.Clear();

            foreach (Seed s in temp)
            {
                OCSeedList.Add(s);
            }
        }