19 lines
465 B
C#
19 lines
465 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace IpcLibrary.Core {
|
|
// <summary>
|
|
/// 方法调用响应
|
|
/// </summary>
|
|
[Serializable]
|
|
public class MethodCallResponse {
|
|
public object Result { get; set; }
|
|
public Exception Exception { get; set; }
|
|
public bool IsSuccess => Exception == null;
|
|
public Type ResultType { get; set; }
|
|
}
|
|
}
|