Ejemplo n.º 1
0
        public Delegate CreateDelegate(Type type, Action <object[]> action)
        {
            DynamicDelegateBuilder builder = new DynamicDelegateBuilder();

            return(builder.CreateDelegate(type, action));
        }
Ejemplo n.º 2
0
        public Delegate GetDelegate(Type type, Action <object[]> handler)
        {
            Dao.Net.Dynamic.DynamicDelegateBuilder b = new Dynamic.DynamicDelegateBuilder();

            return(b.CreateDelegate(type, handler));
        }