You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
525 B
19 lines
525 B
using System.Reflection;
|
|
|
|
namespace EC.Helper.RabbitFunc.Expressions;
|
|
|
|
public abstract class SystemLambdaExpression : LambdaExpression
|
|
{
|
|
internal SystemLambdaExpression(MethodInfo method, string name, Expression body, params ParameterExpression[] parameters)
|
|
: base(name, body, parameters)
|
|
{
|
|
if (method == null)
|
|
throw new ArgumentNullException(nameof(method));
|
|
|
|
Method = method;
|
|
}
|
|
|
|
public MethodInfo Method { get; }
|
|
|
|
public override Type Type => Method.ReturnType;
|
|
}
|