23 lines
535 B
C#
23 lines
535 B
C#
using System;
|
|
|
|
namespace Zhaizj.Framework {
|
|
|
|
/// <summary>
|
|
/// 不带参数的委托,主要用于mvc中的链接。
|
|
/// </summary>
|
|
public delegate void aAction();
|
|
|
|
/// <summary>
|
|
/// 带整型参数的委托,主要用于mvc中的链接。
|
|
/// </summary>
|
|
/// <param name="id"></param>
|
|
public delegate void aActionWithId( int id );
|
|
|
|
/// <summary>
|
|
/// 带字符串参数的委托,主要用于mvc中的链接,本委托不常用。
|
|
/// </summary>
|
|
/// <param name="param"></param>
|
|
public delegate void aActionWithQuery( String param );
|
|
|
|
}
|