예제 #1
0
            public Delegate Compile(LambdaExpression expression)
            {
                //assemblyBindingCompiler.CompileMethod(expression);
                var realDelegate = expression.Compile();

                RefObjectSerializer.RegisterDelegateTranslation(realDelegate, expression);
                return(realDelegate);
            }
예제 #2
0
 public CompileTimeCodeEmitter(RefObjectSerializer objSerializer, string serializerObjectName)
 {
     this.objSerializer        = objSerializer;
     this.serializerObjectName = serializerObjectName;
 }