码迷,mamicode.com
首页 >  
搜索关键字:reflection    ( 912个结果
c#实现list,dataset,DataTable转换成josn等各种转换方法总和
using System;using System.Collections.Generic;using System.Text;using System.Data;using System.Reflection;using System.Collections;using System.Data.C ...
分类:Windows程序   时间:2017-03-22 23:03:19    阅读次数:228
Java Reflection 概述
Reflection 被视为动态语言的关键,反射机制允许程序在执行期借助于 Reflection API 取得任何类的内部信息,并能直接操作任意对象的内部属性及方法反射类:java.lang.Class 是反射的源头,下面以 Java 程序运行过程来说明清楚: 我们写代码新建的一个类,通过编译(ja... ...
分类:编程语言   时间:2017-03-18 00:59:59    阅读次数:197
关于Unity 图片的Texture Type
当我们导入一张图片后,点击图片,有一个Texture Type的贴图类型, Texture:普通贴图 Normal map:法线贴图 Editor GUI and Legacy GUI:UI贴图 Sprite(2D and UI):精灵 Cursor:鼠标指针 Reflection:反射贴图 Coo ...
分类:编程语言   时间:2017-03-17 14:38:19    阅读次数:715
demo code
using System.Reflection; // 引用这个才能使用Missing字段 namespace hello{ public partial class Form1 : Form { Form_SelectData formSelect = null; public Form1() { ...
分类:其他好文   时间:2017-03-16 18:38:45    阅读次数:187
反射方法调用例子
private List<GetNewDateDTO> Reflection() { object obj; Assembly assembly = Assembly.Load("NetGet.UI");//加载DLL,NetGet.UI 为类库名称 Type t = assembly.GetTyp ...
分类:其他好文   时间:2017-03-14 10:38:53    阅读次数:147
Spring总结_06_bean的生命周期
1.生命周期流程图 上下文ApplicationContext容器中的生命周期: 英文图解: 中文图解: Spring Bean的生命周期具体流程: 1.Bean容器找到配置文件中Spring Bean的定义。 2.Bean容器利用Java Reflection API创建一个Bean的实例。 3. ...
分类:编程语言   时间:2017-03-13 17:41:16    阅读次数:259
Winfrom 程序不能重复启动
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Runtime.InteropServices; using System.Threadi... ...
分类:Windows程序   时间:2017-03-10 12:58:28    阅读次数:229
C# 动态加载程序集信息
在设计模式的策略模式中,需要动态加载程序集信息,本文通过一个简单的实例,来讲解动态加载Dll需要的知识点。 涉及知识点: AssemblyName类,完整描述程序集的唯一标识, 用来表述一个程序集。 Assembly类,在System.Reflection命名空间下,表示一个程序集,它是一个可重用、 ...
分类:Windows程序   时间:2017-03-05 15:59:11    阅读次数:226
C# EF 基础操作
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Reflection; namespace... ...
分类:Windows程序   时间:2017-02-25 15:57:48    阅读次数:205
C# 利用反射拷贝类
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Reflection; namespace... ...
分类:Windows程序   时间:2017-02-17 16:56:31    阅读次数:195
912条   上一页 1 ... 34 35 36 37 38 ... 92 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!