Class ParsedExpressionFactoryInternalConfiguration
- Namespace
- LfrlAnvil.Computable.Expressions.Internal
- Assembly
- LfrlAnvil.Computable.Expressions.dll
Represents an internal IParsedExpressionFactory configuration.
public sealed class ParsedExpressionFactoryInternalConfiguration : IParsedExpressionFactoryConfiguration
- Inheritance
-
ParsedExpressionFactoryInternalConfiguration
- Implements
- Inherited Members
Properties
AllowNonIntegerNumbers
Specifies whether or not non-integer numbers are allowed.
public bool AllowNonIntegerNumbers { get; }
Property Value
AllowNonPublicMemberAccess
Specifies whether or not non-public member access is allowed.
public bool AllowNonPublicMemberAccess { get; }
Property Value
AllowScientificNotation
Specifies whether or not scientific notation for numbers is allowed.
public bool AllowScientificNotation { get; }
Property Value
ConvertResultToOutputTypeAutomatically
Specifies whether or not the expression's result is automatically converted to the expected result type.
public bool ConvertResultToOutputTypeAutomatically { get; }
Property Value
DecimalPoint
Specifies the decimal point.
public char DecimalPoint { get; }
Property Value
DiscardUnusedArguments
Specifies whether or not unused arguments should be discarded.
public bool DiscardUnusedArguments { get; }
Property Value
IgnoreMemberNameCase
Specifies whether or not member names are case insensitive.
public bool IgnoreMemberNameCase { get; }
Property Value
IntegerDigitSeparator
Specifies the integer digit separator.
public char IntegerDigitSeparator { get; }
Property Value
MemberBindingFlags
Represents used BindingFlags by this configuration used for locating members.
public BindingFlags MemberBindingFlags { get; }
Property Value
NumberFormatProvider
Underlying IFormatProvider instance.
public IFormatProvider NumberFormatProvider { get; }
Property Value
NumberStyles
Represents used NumberStyles by this configuration.
public NumberStyles NumberStyles { get; }
Property Value
PostponeStaticInlineDelegateCompilation
Specifies whether or not nested static delegate expressions should not be compiled immediately.
public bool PostponeStaticInlineDelegateCompilation { get; }
Property Value
ScientificNotationExponents
Specifies characters that represent scientific notation exponents.
public string ScientificNotationExponents { get; }
Property Value
StringDelimiter
Specifies constant string delimiter symbol.
public char StringDelimiter { get; }
Property Value
Methods
FindTypeFieldsAndProperties(Type, string)
Attempts to find a range of all valid fields and properties for the provided type with a given name.
[Pure]
public MemberInfo[] FindTypeFieldsAndProperties(Type type, string name)
Parameters
Returns
- MemberInfo[]
MemberInfo range of all valid fields and properties.
FindTypeMethods(Type, string, Type[])
Attempts to find a range of all valid methods for the provided type with a given name and parameter types.
[Pure]
public MethodInfo[] FindTypeMethods(Type type, string name, Type[] parameterTypes)
Parameters
Returns
- MethodInfo[]
MethodInfo range of all valid methods.
GetAccessibleMemberFilter(StringSegment)
Creates a MemberFilter from this configuration and the given symbol.
[Pure]
public MemberFilter GetAccessibleMemberFilter(StringSegment symbol)
Parameters
symbol
StringSegmentSymbol to filter by.
Returns
- MemberFilter
New MemberFilter instance.
TryFindTypeCtor(Type, Type[])
Attempts to find a ConstructorInfo for the provided type and parameter types.
[Pure]
public ConstructorInfo? TryFindTypeCtor(Type type, Type[] parameterTypes)
Parameters
Returns
- ConstructorInfo
ConstructorInfo or null when it was not found.
TryFindTypeIndexer(Type, Type[])
Attempts to find a MemberInfo that represents an indexer for the provided type and parameter types.
[Pure]
public MemberInfo? TryFindTypeIndexer(Type type, Type[] parameterTypes)
Parameters
Returns
- MemberInfo
MemberInfo or null when it was not found.