Exemplo n.º 1
0
        public override void Save(int testId, ABTestingItemsTO to, System.Action <bool> onResult)
        {
            var map = new Dictionary <int, ABTestingItemsTO>();

            map.Add(testId, to);
            this.SaveAll(map, onResult);
        }
Exemplo n.º 2
0
 public ABTestingItems(ABTestingItemsTO source)
 {
     this.sourceWindowId = source.sourceWindowId;
     this.items          = new List <ABTestingItem>();
     foreach (var item in source.items)
     {
         this.items.Add(new ABTestingItem(item));
     }
 }
Exemplo n.º 3
0
        public ABTestingItemsTO GetTO()
        {
            var result = new ABTestingItemsTO();

            result.sourceWindowId = this.sourceWindowId;

            result.items = new List <ABTestingItemTO>();
            foreach (var item in this.items)
            {
                result.items.Add(item.GetTO());
            }

            return(result);
        }
Exemplo n.º 4
0
 public abstract void Save(int testId, ABTestingItemsTO data, System.Action <bool> onResult);