예제 #1
0
 public static async Task <IEnumerable <T> > Search(string searchContent)
 {
     return(GetTFormString <IEnumerable <T> >(
                (await CommonDataLoader.GetMainJsonArrayGeneric(
                     GetSearchUri(searchContent))
                ).Stringify()));
 }
예제 #2
0
 public static async Task <IEnumerable <T> > SearchWithLargeContent(string searchContent)
 {
     return(GetTFormArray <T>((
                                  await CommonDataLoader.GetMainJsonArrayGeneric(
                                      GetSearchUri(searchContent)))));
 }
예제 #3
0
 internal static async Task <IEnumerable <CommentModel> > GetComment(string uri)
 {
     return(JsonHelper.Select <CommentModel>(await CommonDataLoader.GetMainJsonArrayGeneric(uri)));
 }