趋势
点击量
Code Generation
最近
 
Read More
2018年1月26日

Generate Properties from Class Variables in Visual Studio .NET

Download source – 961 B Introduction

One of the nice things about Visual Studio is its macro support. You can create and use macros in Visual Studio .NET to increase productivity. One feature which most developers want is a quick property generation from a list of class variables, but Visual Studio .NET has no shortcut for it. To achieve this, you have to record or create a [...]

6
 
Read More
2018年1月26日

Dynamic Code Generation Using CodeDOM

Download source code – 92.1 KB Why generate code?

As the name suggests, dynamic code generation is the technique to generate code at run-time. We write code which would generate code when run. As simplistic the definition seems, it is indeed one of the most powerful techniques in the repertoire of software developers. It is widely used in ORM – Object Relational Mapping [...]

4
 
Read More
2018年1月26日

A tool for making C# visitors

Download source code – 601 KB Download binaries – 167 KB Introduction

In my previous article, I showed how to auto-generate a decorator over one or several classes. In this article, I’ll show a more difficult generation technique: auto-generation of a Visitor pattern via creation of a visitor class and injection of visit methods into existing classes.

To try out the [...]

5
 
Read More
2018年1月26日

Porting Code Through XML

Introduction

This article aims to present a framework for porting source code from one language or platform to another, using XML as the intermediate format in the conversion process.

Background

The concept of this article came to my mind last weekend or so while I was thinking about some programming and design related things. I don’t know about you, the reader, but I have [...]

9
 
Read More
2018年1月26日

Generating synchronous method stubs from asynchronous method pairs

Download demo project – 136 KB Introduction

During the development of a GSM Modem API, I found I was repeating a lot of code for encapsulating the synchronous versions of asynchronous method templates. The common pattern for such code implements asynchronous methods with the same name as the synchronous versions, by prefixing the begin and end method with ‘Begin’ and [...]

5
分类热度
Dev
C#
Intermediate
Windows
.NET
Visual-Studio
Web开发
桌面开发
ASP.NET
Beginner
WinXP
Win2K
Javascript
.NET2.0
VC6
HTML
MFC
C#2.0
Architect
Advanced
第三方产品
VS2005
.NET1.1
VB
移动开发
VS.NET2003
产品展示
Win2003
Design
Wiki.ASP.NET articles
C#3.0
Mobile
企业系统
.NET3.5
开发生命周期
平台,框架&库
Ajax
.NET1.0
.NET Framework
VC7
XML
WebForms
VS2013
ASP.NET 控件
Android
.NET3.0
云计算
Vista
常规阅读
Ajax
最新评分
无内容,请浏览其它分类
十佳
点击量
 
1
XP Style Navigation Bar Server Control with collection property and embedded resources
 
2
XYDataGrid
 
3
Android Recycler View with Spinner Item Change Selection and Update UI
 
4
Bootstrap Persian DateTimePicker
 
5
Enhanced BrowseForFolder styled TreeView
 
6
Making an Audio Spectrum analyzer with Bass.dll, C# and Arduino – Part 2.
 
7
DayPilot Scheduler Control for ASP.NET
 
8
Using the FlowLayoutPanel and Reordering with Drag and Drop
 
9
Managed ListView
 
10
Multiple Image Sizes for ToolStrip Items
周最高分
无内容,请浏览其它分类
十佳
点击量
 
1
XP Style Navigation Bar Server Control with collection property and embedded resources
 
2
XYDataGrid
 
3
Android Recycler View with Spinner Item Change Selection and Update UI
 
4
Bootstrap Persian DateTimePicker
 
5
Enhanced BrowseForFolder styled TreeView