遵守以下簡單的源代碼: using System;
using System.Linq.Expressions;
using System.Reflection;
using System.Reflection.Emit;
namespace A
{
public static class Program
{
private const MethodAtt
我需要使用Reflection.Emit生成一個實現以下接口的類。 public interface IObject
{
T Get<T>(string propertyName);
}
有沒有人有我如何發出以下作爲簡單測試用例的例子? class GeneratedObject : IObject
{
public T Get<T>(string propertyN