ABP的反射为什么先讲反射,因为ABP的模块管理基本就是对所有程序集进行遍历,再筛选出AbpModule的派生类,再按照以来关系顺序加载。ABP对反射的封装着重于程序集(Assembly)与类(Type)。系统中分别定义了IAssemblyFinder与ITypeFinder两个接口,从命名上就可以...
分类:
其他好文 时间:
2015-07-30 09:26:11
阅读次数:
191
我们在编写 .NET 程序时,经常会在该程序的“关于本软件”对话框中给出这个程序的编译时间,如下图所示:
上图中的编译时间是如果得到的呢?其实是在其 C# 源程序中有这么一句:
[assembly: AssemblyVersion("1.3.*")]
上述语句使用了 System.Reflection.AssemblyVersionAttribute 类,该类用于指...
分类:
Web程序 时间:
2015-07-29 10:21:05
阅读次数:
136
一般我们给项目添加jar包的时候是这样的:Build path->Add libraries (之后可以选择多种添加方法),但是添加完成后,发现还是找不到类.
解决方法(环境:MyEclipse):
右键项目->properties->搜deploy,出现deployment assembly->Add->Java Build path entries->选择你要添加的库即可....
分类:
系统相关 时间:
2015-07-29 00:59:25
阅读次数:
160
参考http://stackoverflow.com/questions/1682054/how-do-i-retrieve-appsettings-from-the-assembly-config-file ExeConfigurationFileMap?map?=?new?ExeConfigurationFileMap();
map.ExeConfigFilename?=...
JC Jump if carry setJHS Jump if higher or sameSyntax JC label JHS labelOperation If C = 1: PC + 2 × offset ?> PC If C = 0: exec...
分类:
其他好文 时间:
2015-07-27 22:29:10
阅读次数:
112
The status register (SR/R2), used as a source or destination register, can beused in the register mode only addressed with word instructions. The re.....
分类:
其他好文 时间:
2015-07-27 22:21:02
阅读次数:
120
错误消息例如:Error 6 Could not load the assembly file:///D:\me\Projects\DLL\Newtonsoft.Json\Portable40\Newtonsoft.Json.dll.This assembly may have been downl...
分类:
Web程序 时间:
2015-07-27 14:39:48
阅读次数:
129
1.引入spark包:spark-assembly-1.4.0-hadoop2.6.0,在spark的lib目录下File-->project structure2.用IDEA建立一个scala项目,新建一个WordCount的object3.WordCount代码如下:import org.apa...
分类:
其他好文 时间:
2015-07-26 22:14:16
阅读次数:
175
错误详细信息:Unable to read the project file 'client.csproj'. Could not load file or assembly 'Microsoft.Build.Engine, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its depend...
分类:
其他好文 时间:
2015-07-26 11:12:15
阅读次数:
177
参考资料:1、Linux 中 x86 的内联汇编2、__asm__ __volatile__内嵌汇编用法简述3、第19章汇编与C之间的关系4、AT&T inline Assembly Constraint5、Assembler Instructions with C Expression Opera...
分类:
其他好文 时间:
2015-07-25 19:55:21
阅读次数:
161