예제 #1
0
 /// <summary>
 /// RPC 결과를 반환하는 메소드 실행.
 /// </summary>
 /// <param name="serviceEndpoint">서비스 엔드포인트.</param>
 /// <param name="command">메소드 이름.</param>
 /// <param name="args">메소드 파라미터.</param>
 /// <returns>반환 값.</returns>
 public static async Task <bool> AsyncCommand(this IPEndPoint serviceEndpoint, string command, params object[] args)
 {
     return(await serviceEndpoint.AsyncCommand <bool>(command, args));
 }