首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > C# > 在飞行中生成代码,使用高级语法。

在飞行中生成代码,使用高级语法。

资 源 简 介

New version 0.1.2 There is a new version after quite a long period of inactivity (almost two years actually) - grab it here: http://runsharp.googlecode.com/files/runsharp-0.1.2-pre-alpha-src.zip. Don"t be misled by the small number change! This is what"s going to be released as 0.2 after documentation comments are finally added, and a few bugs are fixed. Overview RunSharp is a layer above the standard .NET Reflection.Emit API, allowing to generate/compile dynamic code at runtime very quickly and efficiently (unlike using CodeDOM and invoking the C# compiler). To the best of my knowledge, there is no such library available at the moment. Example A simple hello world example in C# public class Test{ public static void Main(string[] args) { Console.WriteLine("Hello " + args[0]); }} can be dynamically generated using RunSharp as follows: AssemblyGe

文 件 列 表

runsharp-0.1.2-pre-alpha-src
COPYING
Examples
01_HelloWorld.cs
RunSharp.2008.sln
RunSharp.sln
RunSharp
ArrayUtils.cs
build
build-Debug
build-Debug.cmd
build-Release
build-Release.cmd
build.cmd
VIP VIP
0.168412s