public void SearchCatalogAsAssets() { Task.Run(async() => { Asset[] results = await SearchAPI.SearchAssets(TestConstants.TestSearchKeyword, ESearchCategory.AllInCatalog); Assert.IsNotNull(results); Assert.IsTrue(results.Length > 0); Type ty = typeof(Asset); foreach (Asset res in results) { foreach (PropertyInfo info in ty.GetProperties()) { Console.WriteLine("{0} = {1}", info.Name, info.GetGetMethod().Invoke(res, new object[] { })); } Console.WriteLine("---"); } }).Wait(TestConstants.MaxMilisecondTimeout); }