Welcome![Sign In][Sign Up]
Location:
Search - appdomain

Search list

[CSharpTypeFinder

Description: 本示例演示了一个命令行接口,该接口提供与环境中的类型有关的信息。本示例为开发人员提供了一种简单的方法,可用来确定哪些类型是可用的,它们位于哪些模块中,以及哪些接口、方法、字段、属性和事件对每个类型可用。本示例还演示了反射,它是一种在运行时获取有关程序集和在程序集中所定义类型的信息,以及创建、调用和访问类型实例的过程。 此示例使用下面的技术和类。 反射 Assembly - 将程序集加载到 AppDomain 中,以便可以在这些程序集中搜索类型。 Module - 从程序集或模块中获取类型,以便与搜索字符串进行比较。 Type - 获取有关类型的信息,例如类型名称、命名空间和成员。 PropertyInfo - 提供有关类型中的属性的信息。 EventInfo - 提供有关类型中的事件的信息。 FieldInfo - 提供有关类型中的字段的信息。 MethodInfo - 提供有关类型中的方法的信息。 IO TextWriter - 由此示例中定义的类型 IndentedWriter 使用,以通过一般方式输出到控制台。 文本 StringBuilder - IndentedWriter 示例类型使用它来创建字符串。 String - 查找字符串,例如格式字符串、子字符串和大写字符串。 集合 ArrayList - 管理字符串列表。
Platform: | Size: 17242 | Author: 王子 | Hits:

[CSharpTypeFinder

Description: 本示例演示了一个命令行接口,该接口提供与环境中的类型有关的信息。本示例为开发人员提供了一种简单的方法,可用来确定哪些类型是可用的,它们位于哪些模块中,以及哪些接口、方法、字段、属性和事件对每个类型可用。本示例还演示了反射,它是一种在运行时获取有关程序集和在程序集中所定义类型的信息,以及创建、调用和访问类型实例的过程。 此示例使用下面的技术和类。 反射 Assembly - 将程序集加载到 AppDomain 中,以便可以在这些程序集中搜索类型。 Module - 从程序集或模块中获取类型,以便与搜索字符串进行比较。 Type - 获取有关类型的信息,例如类型名称、命名空间和成员。 PropertyInfo - 提供有关类型中的属性的信息。 EventInfo - 提供有关类型中的事件的信息。 FieldInfo - 提供有关类型中的字段的信息。 MethodInfo - 提供有关类型中的方法的信息。 IO TextWriter - 由此示例中定义的类型 IndentedWriter 使用,以通过一般方式输出到控制台。 文本 StringBuilder - IndentedWriter 示例类型使用它来创建字符串。 String - 查找字符串,例如格式字符串、子字符串和大写字符串。 集合 ArrayList - 管理字符串列表。 -err
Platform: | Size: 17408 | Author: 王子 | Hits:

[CSharpAssemblyDynamicLoader

Description: 运行一个.NET应用程序或者运行库宿主时,OS会首先建立一个进程,然后会在进程中加载CLR(这个加载一般是通过调用_CorExeMain或者_CorBindToRuntimeEx方法来实现),在加载CLR时会创建一个默认的AppDomain,它是CLR的运行单元,程序的Main方法就是在这里执行,这个默认的AppDomain是唯一且不能被卸载的,当该进程消灭时,默认AppDomain才会随之消失。 -To run a. NET runtime host application, or when, OS will first establish a process, then loaded in the process CLR (this is usually loaded by calling _CorExeMain or _CorBindToRuntimeEx method to achieve), when loading the CLR creates a default AppDomain, it is the CLR running unit, the program' s Main method is where the implementation of the default AppDomain is the only and can not be unloaded, and when the process of elimination, the default AppDomain will disappear.
Platform: | Size: 2048 | Author: Tracy | Hits:

[CSharpCsharpPlugin

Description: C# 动态链接机制 插件平台 利用AppDomain实现对DLL的动态加载和卸载-C# dynamic link mechanism plug-platform use AppDomain to achieve dynamic load and unload DLL
Platform: | Size: 172032 | Author: 咚咚一号 | Hits:

CodeBus www.codebus.net