예제 #1
0
        public ExpressoResolver(ICompilation compilation)
        {
            if(compilation == null)
                throw new ArgumentNullException("compilation");

            this.compilation = compilation;
            context = new ExpressoTypeResolveContext(compilation.MainAssembly);
        }
예제 #2
0
 public ExpressoResolver(ExpressoTypeResolveContext context)
 {
     this.compilation = context.Compilation;
     this.context = context;
 }