aspnetcore/samples/SocketsSample/InvocationDescriptor.cs

19 lines
368 B
C#

using System;
namespace SocketsSample
{
public class InvocationDescriptor
{
public string Id { get; set; }
public string Method { get; set; }
public object[] Arguments { get; set; }
public override string ToString()
{
return $"{Id}: {Method}({(Arguments ?? new object[0]).Length})";
}
}
}