コード例 #1
0
        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();
            }
        }
コード例 #2
0
 public OperandInlineFormulaEntryInfo(
     string rawToken,
     InlineFormulaOperandType operandType) : base(rawToken)
 {
     this.OperandType = operandType;
 }