Class ComparisonFunction
Class that represents a function that is a comparison to a value or constant.
Inheritance
System.Object
ComparisonFunction
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Fibula.Parsing.Contracts
Assembly: Fibula.Parsing.Contracts.dll
Syntax
public class ComparisonFunction
Constructors
| Improve this Doc View SourceComparisonFunction(String, String, String, String[])
Initializes a new instance of the ComparisonFunction class.
Declaration
public ComparisonFunction(string name, string comparisonType, string constantOrValue, params string[] parameters)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The name of the function. |
System.String | comparisonType | The comparison type. |
System.String | constantOrValue | The constant or value being compared against. |
System.String[] | parameters | The parameters of the function. |
Properties
| Improve this Doc View SourceConstantOrValue
Gets the constant or value to compare against.
Declaration
public string ConstantOrValue { get; }
Property Value
Type | Description |
---|---|
System.String |
Name
Gets the name of the function.
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
System.String |
Parameters
Gets the parameters of the function.
Declaration
public string[] Parameters { get; }
Property Value
Type | Description |
---|---|
System.String[] |
Type
Gets the type of comparison to the ConstantOrValue.
Declaration
public FunctionComparisonType Type { get; }
Property Value
Type | Description |
---|---|
FunctionComparisonType |