Exemple #1
0
        public void GetListTest() {

            var mth = new GetList() {
                Size = 2
            };

            var datas = ApiClient.Execute(mth).Result;
        }
Exemple #2
0
        private async void LoadDatas() {
            this.IsBusy = true;

            var mth = new GetList() {
                From = this.from,
                Size = this.size
            };

            var datas = await ApiClient.Execute(mth);
            this.Datas.AddRange(datas);

            this.IsBusy = false;
        }
 private GetList.ListFilteredInMsg CreateInMsgFiltered(GetList.EntityTypeFiltered type, bool activeOnly, int[] locationIds, GetList.CustomAttributeMsg[] msgCustomAttributes)
 {
     GetList.ListFilteredInMsg inMsg = new GetList.ListFilteredInMsg();
     inMsg.ItemType = type;
     inMsg.ActiveOnly = activeOnly;
     inMsg.CampusIds = locationIds;
     if (msgCustomAttributes != null)
         inMsg.CustomAttributes = msgCustomAttributes;
     return inMsg;
 }