public void SetServiceResolver(IServiceResolver serviceResolver) { EvalContext.ServiceResolver = serviceResolver; EvalContext.TypeConverter = new StandardTypeConverter(); EvalContext.AddPropertyAccessor(new DictionaryAccessor()); }