plus.cs

来自「Excel的操作,其中可以读取及写入Excel 文件」· CS 代码 · 共 37 行

CS
37
字号
using System;

namespace Microsoft.Fawvw.Components.NExcel.Biff.Formula
{
	
	/// <summary> Ambiguously defined plus operator, used as a place holder when parsing
	/// string formulas.  At this stage it could be either
	/// a unary or binary operator - the string parser will deduce which and
	/// create the appropriate type
	/// </summary>
	class Plus:StringOperator
	{
		/// <summary> Abstract method which gets the binary version of this operator</summary>
		override internal Operator BinaryOperator
		{
			get
			{
				return new Add();
			}
			
		}
		/// <summary> Abstract method which gets the unary version of this operator</summary>
		override internal Operator UnaryOperator
		{
			get
			{
				return new UnaryPlus();
			}
			
		}
		/// <summary> Constructor</summary>
		public Plus():base()
		{
		}
	}
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?