Пример #1
0
        public void CollectionMemberIsExtracted()
        {
            var filter = new CollectionLayoutFilter(_iso, _collLayout);

            Assert.IsNotNull(filter.Collection);
            Assert.AreEqual("contactNumbers", filter.Collection.id);
        }
Пример #2
0
        public void CollectionActions()
        {
            var filter = new CollectionLayoutFilter(_iso, _collLayout);

            Assert.IsNotNull(filter.Actions);
            Assert.AreEqual(2, filter.Actions.Count());
        }
Пример #3
0
        //TODO: compute collInstance
        //TODO: compute collDescriptor
        //TODO: render dummy  collectionTableView

        protected override Task OnParametersSetAsync()
        {
            _name = Layout.id;
            var filter = new CollectionLayoutFilter(Context, Layout);

            _contextActions = filter.Actions;
            _collection     = filter.Collection;
            Logger.LogInformation("about to load it all");
            var details = this.IsisApi.Load(
                _collection.details, "");

            Logger.LogInformation(details);

            //get Details from collection context
            //get collection descriptor from details
            return(base.OnParametersSetAsync());
        }