using IpcLibrary.Core;
using IpcLibrary.Core.Exceptions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace IpcLibrary.Client {
///
/// 客户端扩展方法
///
public static class IPCClientExtensions {
///
/// 调用无返回值的方法
///
public static async Task CallMethodAsync(this IIPCClient client, string targetProcessId, string serviceName, string methodName, params object[] parameters) {
await client.CallMethodAsync