Class StandardEvaluationContext
Inheritance
System.Object
StandardEvaluationContext
Assembly: Steeltoe.Common.Expression.dll
Syntax
public class StandardEvaluationContext : IEvaluationContext
Constructors
|
Edit this page
View Source
StandardEvaluationContext()
Declaration
public StandardEvaluationContext()
|
Edit this page
View Source
StandardEvaluationContext(Object)
Declaration
public StandardEvaluationContext(object rootObject)
Parameters
Type |
Name |
Description |
System.Object |
rootObject |
|
Properties
|
Edit this page
View Source
ConstructorResolvers
Declaration
public List<IConstructorResolver> ConstructorResolvers { get; set; }
Property Value
Type |
Description |
List<IConstructorResolver> |
|
|
Edit this page
View Source
MethodResolvers
Declaration
public List<IMethodResolver> MethodResolvers { get; set; }
Property Value
Type |
Description |
List<IMethodResolver> |
|
|
Edit this page
View Source
OperatorOverloader
Declaration
public IOperatorOverloader OperatorOverloader { get; set; }
Property Value
Type |
Description |
IOperatorOverloader |
|
|
Edit this page
View Source
PropertyAccessors
Declaration
public List<IPropertyAccessor> PropertyAccessors { get; set; }
Property Value
Type |
Description |
List<IPropertyAccessor> |
|
|
Edit this page
View Source
RootObject
Declaration
public ITypedValue RootObject { get; }
Property Value
Type |
Description |
ITypedValue |
|
|
Edit this page
View Source
ServiceResolver
Declaration
public IServiceResolver ServiceResolver { get; set; }
Property Value
Type |
Description |
IServiceResolver |
|
|
Edit this page
View Source
TypeComparator
Declaration
public ITypeComparator TypeComparator { get; set; }
Property Value
Type |
Description |
ITypeComparator |
|
|
Edit this page
View Source
TypeConverter
Declaration
public ITypeConverter TypeConverter { get; set; }
Property Value
Type |
Description |
ITypeConverter |
|
|
Edit this page
View Source
TypeLocator
Declaration
public ITypeLocator TypeLocator { get; set; }
Property Value
Type |
Description |
ITypeLocator |
|
Methods
|
Edit this page
View Source
AddConstructorResolver(IConstructorResolver)
Declaration
public void AddConstructorResolver(IConstructorResolver accessor)
Parameters
Type |
Name |
Description |
IConstructorResolver |
accessor |
|
|
Edit this page
View Source
AddMethodResolver(IMethodResolver)
Declaration
public void AddMethodResolver(IMethodResolver accessor)
Parameters
Type |
Name |
Description |
IMethodResolver |
accessor |
|
|
Edit this page
View Source
AddPropertyAccessor(IPropertyAccessor)
Declaration
public void AddPropertyAccessor(IPropertyAccessor accessor)
Parameters
Type |
Name |
Description |
IPropertyAccessor |
accessor |
|
|
Edit this page
View Source
LookupVariable(String)
Declaration
public object LookupVariable(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
Returns
Type |
Description |
System.Object |
|
|
Edit this page
View Source
LookupVariable<T>(String)
Declaration
public T LookupVariable<T>(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
Returns
Type Parameters
|
Edit this page
View Source
RegisterFunction(String, MethodInfo)
Declaration
public void RegisterFunction(string name, MethodInfo method)
Parameters
Type |
Name |
Description |
System.String |
name |
|
MethodInfo |
method |
|
|
Edit this page
View Source
RegisterMethodFilter(Type, IMethodFilter)
Declaration
public void RegisterMethodFilter(Type type, IMethodFilter filter)
Parameters
Type |
Name |
Description |
Type |
type |
|
IMethodFilter |
filter |
|
|
Edit this page
View Source
RemoveConstructorResolver(IConstructorResolver)
Declaration
public bool RemoveConstructorResolver(IConstructorResolver accessor)
Parameters
Type |
Name |
Description |
IConstructorResolver |
accessor |
|
Returns
Type |
Description |
System.Boolean |
|
|
Edit this page
View Source
RemoveMethodResolver(IMethodResolver)
Declaration
public bool RemoveMethodResolver(IMethodResolver accessor)
Parameters
Type |
Name |
Description |
IMethodResolver |
accessor |
|
Returns
Type |
Description |
System.Boolean |
|
|
Edit this page
View Source
RemovePropertyAccessor(IPropertyAccessor)
Declaration
public bool RemovePropertyAccessor(IPropertyAccessor accessor)
Parameters
Type |
Name |
Description |
IPropertyAccessor |
accessor |
|
Returns
Type |
Description |
System.Boolean |
|
|
Edit this page
View Source
SetRootObject(Object)
Declaration
public void SetRootObject(object rootObject)
Parameters
Type |
Name |
Description |
System.Object |
rootObject |
|
|
Edit this page
View Source
SetRootObject(Object, Type)
Declaration
public void SetRootObject(object rootObject, Type typeDescriptor)
Parameters
Type |
Name |
Description |
System.Object |
rootObject |
|
Type |
typeDescriptor |
|
|
Edit this page
View Source
SetVariable(String, Object)
Declaration
public void SetVariable(string name, object value)
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.Object |
value |
|
|
Edit this page
View Source
SetVariables(Dictionary<String, Object>)
Declaration
public void SetVariables(Dictionary<string, object> variables)
Parameters
Type |
Name |
Description |
Dictionary<System.String, System.Object> |
variables |
|