码迷,mamicode.com
首页 >  
搜索关键字:reflection    ( 912个结果
.net Aop 实现原理
本文实现所有继承BaseModel的类都通过代理拦截using System;using System.Reflection;using System.Collections.Generic;using System.Runtime.Remoting.Proxies;using System.Run...
分类:Web程序   时间:2015-05-22 16:37:39    阅读次数:167
30. C# -- 反射
什么是反射?反射是一个程序集发现及运行的过程,通过反射可以得到*.exe或*.dll等程序集内部的信息。使用反射可以看到一个程序集内部的接口、类、方法、字段、属性、特性等等信息。在System.Reflection命名空间内包含多个反射常用的类,下面表格列出了常用的几个类。反射是一种..
分类:Windows程序   时间:2015-05-21 19:43:38    阅读次数:218
java.lang.ClassNotFoundException: org.hibernate.annotations.common.reflection.MetadataProvider
Caused by: java.lang.NoClassDefFoundError: org/hibernate/annotations/common/reflection/MetadataProvider at java.lang.Class.getDeclaredConstructors0(Na...
分类:编程语言   时间:2015-05-21 01:16:31    阅读次数:328
分享一下我写的.net 2.0的orm类,实现mvc。可以用于webform等环境中,这是orm的原理部分。
using System;using System.Collections.Generic;using System.Configuration;using System.Data;using System.Data.Common;using System.Reflection;using Syst...
分类:Web程序   时间:2015-05-20 22:16:23    阅读次数:223
hahahahah
dsfsefesfsffsfsfsfsfesfsfsfsfsfsfspackage realm; import java.util.ArrayList; import java.util.List; import org.apache.commons.lang3.builder.Reflection...
分类:其他好文   时间:2015-05-19 18:54:05    阅读次数:153
执行指定的操作的一般处理程序
using Newtonsoft.Json;using System;using System.IO;using System.Linq;using System.Reflection;using System.Text.RegularExpressions;using System.Web;usi...
分类:其他好文   时间:2015-05-17 23:22:40    阅读次数:161
Java反射
反射(reflective)是指能够分析类的能力的程序。     反射库(reflection library)提供了一个非常丰富且精心设计的工具集,以便编写能够动态操作Java代码的程序。     程序运行期间,Java运行时系统始终未所有的对象维护一个被称为运行时的类型标识。这个信息跟踪着每个对象所属的类。虚拟机利用运行时信息选择相应的方法执行。 Class 反射对象描述类的语义结构,可以从Class对象中获取构造函数、成员变量、方法等元素的反射对象,并以编程的方式通过这些反射对象对目标类对象进行操作。...
分类:编程语言   时间:2015-05-17 21:59:30    阅读次数:235
反射+泛型+缓存 ASP.NET的数据层通用类
1 using System; 2 using System.Collections.Generic; 3 using System.Text; 4 using System.Reflection ; 5 using System.Data ; 6 using BaiChang.Hea...
分类:Web程序   时间:2015-05-14 18:40:29    阅读次数:168
C#中动态加载以及推迟绑定
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Reflection;namespace Reflection{ class Program { ...
分类:Windows程序   时间:2015-05-14 08:37:28    阅读次数:160
“无法加载一个或多个请求的类型。有关更多信息,请检索 LoaderExceptions 属性 “之解决
今天在学习插件系统设计的时候遇到一个问题:“System.Reflection.ReflectionTypeLoadException: 无法加载一个或多个请求的类型。于是百度一下,很多内容都差不多,摘抄一个:------------------------------ 今天突然遇到“System....
分类:其他好文   时间:2015-05-13 18:55:20    阅读次数:489
912条   上一页 1 ... 62 63 64 65 66 ... 92 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!