趋势
点击量
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 [...]

2
 
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 [...]

1
 
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 [...]

3
 
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 [...]

3
 
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 [...]

2
分类热度
Dev
C#
Intermediate
Windows
.NET
Visual-Studio
Web开发
桌面开发
ASP.NET
Beginner
Javascript
WinXP
Win2K
.NET2.0
HTML
VC6
Architect
MFC
C#2.0
Advanced
第三方产品
移动开发
VS2005
VB
.NET1.1
产品展示
Mobile
VS.NET2003
Win2003
Wiki.ASP.NET articles
C#3.0
企业系统
开发生命周期
.NET3.5
Ajax
.NET1.0
XML
WebForms
VC7
平台,框架&库
VS2013
.NET Framework
ASP.NET 控件
.NET3.0
云计算
Android
Vista
Java
常规阅读
自定义控件
最新评分
无内容,请浏览其它分类
十佳
点击量
 
1
XP Style Navigation Bar Server Control with collection property and embedded resources
 
2
Copy/Paste For Databound Objects
 
3
A Transparent menu synchronizing system
 
4
Getting a CF_DIB or CF_METAFILEPICT from the clipboard and displaying it
 
5
The Drag and Drop interface samples
 
6
Bobril – Integration to Another Web Application
 
7
Android Recycler View with Spinner Item Change Selection and Update UI
 
8
Bootstrap Persian DateTimePicker
 
9
Capture Screen to Clipboard including dropdown menu
 
10
Implementing a drag source
周最高分
无内容,请浏览其它分类
十佳
点击量
 
1
XP Style Navigation Bar Server Control with collection property and embedded resources
 
2
Copy/Paste For Databound Objects
 
3
A Transparent menu synchronizing system
 
4
Getting a CF_DIB or CF_METAFILEPICT from the clipboard and displaying it
 
5
The Drag and Drop interface samples