コード例 #1
0
		public IList<DropdownLitsItem> GetPropertiesList()
		{
			List<DropdownLitsItem> result = new List<DropdownLitsItem>();

			for (int i = 0; i < 30; i++)
			{
				DropdownLitsItem item = new DropdownLitsItem() { ID = i, Name = string.Format("Name{0}", i), Caption = string.Format("Caption{0}", i) };
				result.Add(item);
			}

			return result;
		}
コード例 #2
0
        public IList <DropdownLitsItem> GetPropertiesList()
        {
            List <DropdownLitsItem> result = new List <DropdownLitsItem>();

            for (int i = 0; i < 30; i++)
            {
                DropdownLitsItem item = new DropdownLitsItem()
                {
                    ID = i, Name = string.Format("Name{0}", i), Caption = string.Format("Caption{0}", i)
                };
                result.Add(item);
            }

            return(result);
        }