コード例 #1
0
		public ExpressionOperator(string symbol, ExpressionOperatorKind kind, byte priority)
		{
			if(string.IsNullOrWhiteSpace(symbol))
				throw new ArgumentNullException("symbol");

			this.Symbol = symbol.Trim();
			this.Kind = kind;
			this.Priority = priority;
		}
コード例 #2
0
        public ExpressionOperator(string symbol, ExpressionOperatorKind kind, byte priority)
        {
            if (string.IsNullOrWhiteSpace(symbol))
            {
                throw new ArgumentNullException("symbol");
            }

            this.Symbol   = symbol.Trim();
            this.Kind     = kind;
            this.Priority = priority;
        }