Share via


Expression.FunctionTable Class

Definition

FunctionTable is a dictionary which merges BuiltinFunctions.Functions with a CustomDictionary.

public class Expression.FunctionTable : System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<string,AdaptiveExpressions.ExpressionEvaluator>>, System.Collections.Generic.IDictionary<string,AdaptiveExpressions.ExpressionEvaluator>, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,AdaptiveExpressions.ExpressionEvaluator>>
type Expression.FunctionTable = class
    interface IDictionary<string, ExpressionEvaluator>
    interface ICollection<KeyValuePair<string, ExpressionEvaluator>>
    interface seq<KeyValuePair<string, ExpressionEvaluator>>
    interface IEnumerable
Public Class Expression.FunctionTable
Implements ICollection(Of KeyValuePair(Of String, ExpressionEvaluator)), IDictionary(Of String, ExpressionEvaluator), IEnumerable(Of KeyValuePair(Of String, ExpressionEvaluator))
Inheritance
Expression.FunctionTable
Implements

Constructors

Expression.FunctionTable()

Properties

Count

Gets a value of the total number of StandardFunctions and user custom functions.

IsReadOnly

Gets a value indicating whether the FunctionTable is readonly.

Item[String]

Gets a value of ExpressionEvaluator corresponding to the given key.

Keys

Gets a collection of string values that represent the keys of the StandardFunctions.

Values

Gets a collection of ExpressionEvaluator which is the value of the StandardFunctions.

Methods

Add(KeyValuePair<String,ExpressionEvaluator>)

Inserts a mapping of a string key to ExpressionEvaluator into FunctionTable from a key value pair.

Add(String, ExpressionEvaluator)

Inserts a mapping of a string key to ExpressionEvaluator into FunctionTable.

Add(String, Func<IReadOnlyList<Object>,Object>)

Inserts a mapping of a string key to user customized function into FunctionTable.

Clear()

Clears the user customized functions.

Contains(KeyValuePair<String,ExpressionEvaluator>)

Determines whether FunctionTable contains a given key value pair of string to ExpressionEvaluator.

ContainsKey(String)

Determines if the FunctionTable contains a given string key.

CopyTo(KeyValuePair<String,ExpressionEvaluator>[], Int32)

Not implemented.

GetEnumerator()

Generates an enumerator through all standard functions.

Remove(KeyValuePair<String,ExpressionEvaluator>)

Removes a specified key value pair from user customized functions.

Remove(String)

Removes a specified key from user customized functions.

TryGetValue(String, ExpressionEvaluator)

Attempts to get the value associated with the specified key from the FunctionTable.

Explicit Interface Implementations

IEnumerable.GetEnumerator()

Applies to