Exemple #1
0
 public UserOrder()
 {
     UserNum = 0;
     Table   = 0;
     Pepper  = -1;
     Details = "";
     Price   = 0;
     SampleItems.Clear();
 }
Exemple #2
0
        public virtual async Task LoadDataAsync()
        {
            SampleItems.Clear();

            var data = await SampleDataService.GetSampleModelDataAsync();

            foreach (T item in data)
            {
                SampleItems.Add(item);
            }
        }
Exemple #3
0
        public override async Task LoadDataAsync()
        {
            SampleItems.Clear();

            var data = await SampleDataService.GetSampleModelDataAsync();

            foreach (var item in data)
            {
                SampleItems.Add(new SampleOrderWithSymbol(item));
            }
        }
Exemple #4
0
 public UserOrder(bool flag)
 {
     UserNum = 0;
     Table   = 0;
     Pepper  = -1;
     Details = "";
     Price   = 0;
     SampleItems.Clear();
     if (flag)
     {
         this.OrderId = id;
         id++;
     }
 }