Beispiel #1
0
        public void Add_Remove_Function()
        {
            ExpressionProcessor.AddFunction(typeof(string), nameof(string.Trim));
            Assert.True(ExpressionProcessor.ContainsFunction(typeof(string), nameof(string.Trim)));

            ExpressionProcessor.RemoveFunction(typeof(string), nameof(string.Trim));
            Assert.False(ExpressionProcessor.ContainsFunction(typeof(string), nameof(string.Trim)));
        }