예제 #1
0
        ///<summary>
        /// Asynchronous invoker for  'Agni.Social.Graph.IGraphCommentSystem.Create'.
        /// 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_Create(@NFX.@DataAccess.@Distributed.@GDID @gAuthorNode, @NFX.@DataAccess.@Distributed.@GDID @gTargetNode, @System.@String @dimension, @System.@String @content, @System.@Byte[]  @data, @Agni.@Social.@Graph.@PublicationState @publicationState, @Agni.@Social.@Graph.@RatingValue @value, @System.@Nullable <@System.@DateTime> @timeStamp)
        {
            var request = new RequestAnyMsg(s_ts_CONTRACT, @s_ms_Create_0, false, RemoteInstance, new object[] { @gAuthorNode, @gTargetNode, @dimension, @content, @data, @publicationState, @value, @timeStamp });

            return(DispatchCall(request));
        }
예제 #2
0
        ///<summary>
        /// Synchronous invoker for  'Agni.Social.Graph.IGraphCommentSystem.Create'.
        /// This is a two-way call per contract specification, meaning - the server sends the result back either
        ///  returning '@Agni.@Social.@Graph.@Comment' 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 @Agni.@Social.@Graph.@Comment @Create(@NFX.@DataAccess.@Distributed.@GDID @gAuthorNode, @NFX.@DataAccess.@Distributed.@GDID @gTargetNode, @System.@String @dimension, @System.@String @content, @System.@Byte[]  @data, @Agni.@Social.@Graph.@PublicationState @publicationState, @Agni.@Social.@Graph.@RatingValue @value, @System.@Nullable <@System.@DateTime> @timeStamp)
        {
            var call = Async_Create(@gAuthorNode, @gTargetNode, @dimension, @content, @data, @publicationState, @value, @timeStamp);

            return(call.GetValue <@Agni.@Social.@Graph.@Comment>());
        }