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

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

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

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

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