代码搜索结果
找到约 10,000 项符合
Assembly 的代码
assemblyinfo.vb
Imports System
Imports System.Reflection
Imports System.Runtime.InteropServices
' 有关程序集的常规信息通过下列属性集
' 控制。更改这些属性值可修改
' 与程序集关联的信息。
' 查看程序集属性的值
assemblyinfo.cs
using System.Reflection;
using System.Runtime.CompilerServices;
//
// 有关程序集的常规信息是通过下列
// 属性集控制的。更改这些属性值可修改与程序集
// 关联的信息。
//
[assembly: AssemblyTitle("")]
[assembly: AssemblyDescription("")]
assemblyinfo.cs
using System.Reflection;
using System.Runtime.CompilerServices;
//
// 有关程序集的常规信息是通过下列
// 属性集控制的。更改这些属性值可修改与程序集
// 关联的信息。
//
[assembly: AssemblyTitle("")]
[assembly: AssemblyDescription("")]
assemblyinfo.vb
Imports System
Imports System.Reflection
Imports System.Runtime.InteropServices
' 程序集的常规信息通过下列
' 属性集控制。更改这些属性值可
' 修改与程序集关联的信息。
' 检查程序集的属性值
assemblyinfo.vb
Imports System
Imports System.Reflection
Imports System.Runtime.InteropServices
' 程序集的常规信息通过下列
' 属性集控制。更改这些属性值可
' 修改与程序集关联的信息。
' 检查程序集的属性值
assemblyinfo.vb
Imports System
Imports System.Reflection
Imports System.Runtime.InteropServices
' 程序集的常规信息通过下列
' 属性集控制。更改这些属性值可
' 修改与程序集关联的信息。
' 检查程序集的属性值
assemblyinfo.cs
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的常规信息通过下列属性集
// 控制。更改这些属性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("MyHouse")]
25.18.txt
Listing 25.18 Listing the Attributes Applied to the Currently Executing Assembly
Assembly assbly = Assembly.GetExecutingAssembly();
object [] attribs = assbly.GetCustomAttributes(true);
foreach (ob
25.8.txt
Listing 25.8 Defining an Attribute That Cannot Be Applied at Assembly or Module
Scope
[AttributeUsage(AttributeTargets.All & (~AttributeTargets.Assembly) &
(~AttributeTargets.Module))]
public clas