private void SetPropertyValueAndRemoveFromList(List <PropertyLink> propertyLinks, string propertyName, string expession)
        {
            var propertyLink  = PullPropertyLink(propertyLinks, propertyName);
            var value         = preProcessor.ExecuteAsync <object>(expession).Result;
            var propertyValue = Convert.ChangeType(value, propertyLink.PropertyInfo.PropertyType);

            propertyLink.Value = propertyValue;
        }
예제 #2
0
 public async Task <T> ExecuteAsync <T>()
 {
     return(await preProcessor.ExecuteAsync <T>(text));
 }