码迷,mamicode.com
首页 >  
搜索关键字:reflection    ( 912个结果
Unity[C#] Reflection To Update Scripts
我正在使用Unity 3D的一个项目。这个项目是一个Android的应用,它会下载AssetBundles并加载它们的内容,但由于AssetBundles不能包含脚本,我将使用预编译的C#脚本,并使用Mono反射来加载它(我不知道我会怎样,但看着办吧) 。但现在我不知道该如何预编译.cs文件,所以任...
分类:其他好文   时间:2014-07-16 15:32:13    阅读次数:404
Unity[C#] Reflection Use
Reflection一个最有力的工具对于C#程序员。 最常用的例子来说明反射的用处是一个插件系统。假设你正在创建一个 接受用户创建 的扩展程序,有没有办法预先知道哪些方法这个扩展他们有或有扩展的名字将是什么,除非你可以检查编译的程序集,并在运行时提取信息,这正是反射呢,等等 目前,我正在开发一个游戏...
分类:其他好文   时间:2014-07-16 12:37:20    阅读次数:250
LinQ 定义扩展方法3.1
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Reflection;using System.Diagnostics;namespace Extension...
分类:其他好文   时间:2014-07-14 00:17:34    阅读次数:206
LinQ 定义带有返回类型的扩展方法3.2
using System;using System.Collections;using System.Collections.Generic;using System.Linq;using System.Text;using System.Reflection;using System.Diagno...
分类:其他好文   时间:2014-07-13 23:53:33    阅读次数:314
Caused by: java.lang.ClassNotFoundException: org.hibernate.annotations.common.reflection.MetadataPro
1、错误描述 信息: MLog clients using java 1.4+ standard logging. 2014-7-12 19:29:20 com.mchange.v2.c3p0.C3P0Registry banner 信息: Initializing c3p0-0.9.2.1 [built 20-March-2013 10:47:27 +0000; debug? true; tr...
分类:编程语言   时间:2014-07-13 16:58:50    阅读次数:327
C#鼠标键盘钩子
using System;using System.Collections.Generic;using System.Reflection;using System.Runtime.InteropServices;using System.Text;using System.Windows.Form...
分类:其他好文   时间:2014-07-09 15:50:56    阅读次数:199
YII框架之soap协议的配置跟使用(Webservice)
Yii依靠文档注解(doc comments)和类反射(class reflection)来识别哪个方法可以被远程调用,包括他们的参数和返回值,但目前只能返回字符串,不能返回数组,若返回数组,则为"array";故我将返回值转换为json字符串再返回. 1. 定义Service Provider,服务器端文件代码,WebServerController.php <?php...
分类:Web程序   时间:2014-07-08 19:17:06    阅读次数:175
代替Reflection(反射)的一些方法
Reflection(反射)是深入学习.Net必须掌握的技能之一。最初学Reflection的时候,的确是被惊住了,原来还可以这样。只要给你一个Assembly, 你就能获取到其中所有的类型,根据类型,你能够创建和操作对象的属性和方法,甚至是私有的。但是,每次使用Reflection,看着那些丑陋难...
分类:其他好文   时间:2014-07-08 11:41:18    阅读次数:280
记录详细错误信息
utils.ToLog.WriteLog(AboutConfig.LogPath, "\r\n方法:" + System.Reflection.MethodBase.GetCurrentMethod().DeclaringType.FullName + "." + System.Reflection...
分类:其他好文   时间:2014-07-05 19:53:44    阅读次数:151
Junit指定测试执行顺序
原文链接: Test execution order原文日期: 2012年12月06日翻译日期: 2014年7月2日翻译人员: 铁锚说明: Junit4.11版本及以后才支持,建议升级到最新版本.按照设计原则,JUnit是不指定测试方法调用执行顺序的。目前为止,这些方法只是简单地按照反射(reflection) API返回的顺序执行。但是,使用JVM默认提供的排序是很不明智的,因为Java平台没有...
分类:其他好文   时间:2014-07-03 15:56:10    阅读次数:268
912条   上一页 1 ... 85 86 87 88 89 ... 92 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!