Exemple #1
0
        public static Task SendAsync(this ChannelContext context, Enum messageId, object message)
        {
            var rpcId     = 0;
            var integerId = Convert.ToInt32(messageId);

            return(context.SendAsync(integerId, rpcId, message));
        }
Exemple #2
0
        public static void Send(this ChannelContext context, Enum messageId, object message)
        {
            var rpcId     = 0;
            var integerId = Convert.ToInt32(messageId);

            context.SendAsync(integerId, rpcId, message);
        }
Exemple #3
0
        public static Task SendAsync(this ChannelContext context, int messageId, object message)
        {
            var rpcId = 0;

            return(context.SendAsync(messageId, rpcId, message));
        }
Exemple #4
0
        public static void Send(this ChannelContext context, int messageId, object message)
        {
            var rpcId = 0;

            context.SendAsync(messageId, rpcId, message);
        }