Example #1
0
        public async void TestCase()
        {
            await this.kidozenApplication.Authenticate(Settings.User, Settings.Pass, Settings.Provider);

            var ds      = kidozenApplication.DataSource("fileGetDs");
            var results = await ds.QueryFile(new { fullpath = "/Users/christian/img1.png" });

            Assert.IsNotNull(results);
        }
Example #2
0
        public Task <bool> QueryDataSoruce <T>(string name, T paramters)
        {
            var qds = kido.DataSource(name);

            return(qds.Query <JObject>(paramters).ContinueWith(t => {
                System.Diagnostics.Debug.WriteLine(t.Result);
                return !t.IsFaulted;
            }));
        }