public static bool IsOperandEntryOfType( string entryToken, InlineFormulaOperandType operandType) { switch (operandType) { case InlineFormulaOperandType.ConstantValue: return(IsConstantValueEntry(entryToken)); case InlineFormulaOperandType.Variable: return(IsVariableEntry(entryToken)); default: throw new NotSupportedException(); } }
public OperandInlineFormulaEntryInfo( string rawToken, InlineFormulaOperandType operandType) : base(rawToken) { this.OperandType = operandType; }