structureblockmanager.cs

来自「vc转换成vb」· CS 代码 · 共 35 行

CS
35
字号
/*----------------------------------------------------------------------
	Author:		Kamal Patel
	Date:		Feb 26 2002 AD
	Version:	1.2
	Copyright:	(c) Kamal Patel, All rights reserved.
	Email:		kppatel@yahoo.com
	URL:		http://www.KamalPatel.net
-----------------------------------------------------------------------*/

using System;

namespace ConvertCSharp2VB
{
	//----------------------------------------------------------------------------------
	//Structure Manager class 
	//----------------------------------------------------------------------------------
	public class StructureBlockManager: ClassBlockManager
	{
		public string GetBlock(string tcDeclaration, string tcBlock)
		{
			return this.GetClassBlock(tcDeclaration, tcBlock);
		}

		protected override string Execute()
		{
			string lcRetVal;
			lcRetVal = this.BlankToken + this.ClassDeclarationToken + this.ImplementationDeclationToken;
			lcRetVal += this.ClassBlockToken + "\r\n" + this.BlankToken + "End Structure" + "\r\n";
			return lcRetVal;
		}

	}

}

⌨️ 快捷键说明

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