コード例 #1
0
 /// <summary>
 /// Get system calculation operator
 /// </summary>
 /// <param name="calculationOperator">Calculation operator</param>
 /// <returns></returns>
 public static string GetSystemCalculationOperator(CalculationOperator calculationOperator)
 {
     CalculationOperators.TryGetValue(calculationOperator, out var systemCalculationOperator);
     return(systemCalculationOperator);
 }
コード例 #2
0
 /// <summary>
 /// Creates a new QueryEngineAttribute.
 /// </summary>
 /// <param name="calculationOperator">The type of operator that is represented.</param>
 public QueryEngineAttribute(CalculationOperator calculationOperator)
 {
     CalculationOperator = calculationOperator;
 }