///<summary> /// Asynchronous invoker for 'Agni.Social.Trending.ITrendingSystem.GetTrending'. /// This is a two-way call per contract specification, meaning - the server sends the result back either /// returning no exception or WrappedExceptionData instance. /// CallSlot is returned that can be queried for CallStatus, ResponseMsg and result. ///</summary> public CallSlot Async_GetTrending(@Agni.@Social.@Trending.@TrendingQuery @query) { var request = new RequestAnyMsg(s_ts_CONTRACT, @s_ms_GetTrending_1, false, RemoteInstance, new object[] { @query }); return(DispatchCall(request)); }
///<summary> /// Synchronous invoker for 'Agni.Social.Trending.ITrendingSystem.GetTrending'. /// This is a two-way call per contract specification, meaning - the server sends the result back either /// returning '@System.@Collections.@Generic.@IEnumerable<@Agni.@Social.@Trending.@TrendingEntity>' or WrappedExceptionData instance. /// ClientCallException is thrown if the call could not be placed in the outgoing queue. /// RemoteException is thrown if the server generated exception during method execution. ///</summary> public @System.@Collections.@Generic.@IEnumerable <@Agni.@Social.@Trending.@TrendingEntity> @GetTrending(@Agni.@Social.@Trending.@TrendingQuery @query) { var call = Async_GetTrending(@query); return(call.GetValue <@System.@Collections.@Generic.@IEnumerable <@Agni.@Social.@Trending.@TrendingEntity> >()); }