C# 注释
2017-04-16 00:10
20 查看
<summary>注释
形参注释 (int a,double b)
<typeparam name="T1"> 指的 int double 的注释
<param name="arg1">指的 a b 的注释
/// <summary>
/// Encapsulates a method that takes nine parameters and does not return a value.
/// </summary>
/// <typeparam name="T1">The type of the first parameter of the method that this delegate encapsulates.</typeparam>
/// <typeparam name="T9">The type of the ninth parameter of the method that this delegate encapsulates.</typeparam>
/// <param name="arg1">The first parameter of the method that this delegate encapsulates.</param>
/// <param name="arg9">The ninth parameter of the method that this delegate encapsulates.</param>
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1005:AvoidExcessiveParametersOnGenericTypes")]
public delegate void Action<in T1, in T2, in T3, in T4, in T5, in T6, in T7, in T8, in T9>(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9);
/// <summary>
/// Encapsulates a method that has nine parameters and returns a value of the type specified by the TResult parameter.
/// </summary>
/// <typeparam name="T1">The type of the first parameter of the method that this delegate encapsulates.</typeparam>
/// <typeparam name="TResult">The type of the return value of the method that this delegate encapsulates.</typeparam>
/// <param name="arg9">The ninth parameter of the method that this delegate encapsulates.</param>
/// <returns>The return value of the method that this delegate encapsulates.</returns>
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1005:AvoidExcessiveParametersOnGenericTypes")]
public delegate TResult Func<in T1, in T2, in T3, in T4, in T5, in T6, in T7, in T8, in T9, out TResult>(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9);
形参注释 (int a,double b)
<typeparam name="T1"> 指的 int double 的注释
<param name="arg1">指的 a b 的注释
/// <summary>
/// Encapsulates a method that takes nine parameters and does not return a value.
/// </summary>
/// <typeparam name="T1">The type of the first parameter of the method that this delegate encapsulates.</typeparam>
/// <typeparam name="T9">The type of the ninth parameter of the method that this delegate encapsulates.</typeparam>
/// <param name="arg1">The first parameter of the method that this delegate encapsulates.</param>
/// <param name="arg9">The ninth parameter of the method that this delegate encapsulates.</param>
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1005:AvoidExcessiveParametersOnGenericTypes")]
public delegate void Action<in T1, in T2, in T3, in T4, in T5, in T6, in T7, in T8, in T9>(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9);
/// <summary>
/// Encapsulates a method that has nine parameters and returns a value of the type specified by the TResult parameter.
/// </summary>
/// <typeparam name="T1">The type of the first parameter of the method that this delegate encapsulates.</typeparam>
/// <typeparam name="TResult">The type of the return value of the method that this delegate encapsulates.</typeparam>
/// <param name="arg9">The ninth parameter of the method that this delegate encapsulates.</param>
/// <returns>The return value of the method that this delegate encapsulates.</returns>
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1005:AvoidExcessiveParametersOnGenericTypes")]
public delegate TResult Func<in T1, in T2, in T3, in T4, in T5, in T6, in T7, in T8, in T9, out TResult>(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9);
相关文章推荐
- 菜鸟之[C#WinForm传值(方法二)(详细代码及注释)]
- 把 Visual Studio .NET 源代码文件中C# XML注释提取成工程文档
- 关于 C# 注释问题的一些注解
- 在C#当中使用注释
- 把 Visual Studio .NET 源代码文件中C# XML注释提取成工程文档
- 〖编程擂台〗用C#去掉SQL语句中的注释
- .net/c# 从0开始 (1)引用与注释
- C#,arcengine制作鹰眼全过程(带注释)
- C#注释语法
- C#注释文档生成的HTML问题解决
- C# 学习笔记 -- 第二天 使用注释提高代码可读性
- c#书写规范之---注释
- C# 代码文件头部注释批量写入, 函数注释批量删除的工具
- C#中给自写函数加提示型注释
- 把 Visual Studio .NET 源代码文件中C# XML注释提取成工程文档
- 把 Visual Studio .NET 源代码文件中C# XML注释提取成工程文档
- JS:去掉Java代码中的注释(也适用于JS和C#)
- C# winform 快速方便注释
- C#制作鹰眼全过程(带注释)
- C# 注释