码迷,mamicode.com
首页 >  
搜索关键字:reflection    ( 912个结果
Introduction to C++ Programming in UE4 阅读笔记
四大基类:UObject, AActor, UActorComponent, UStructUObject :最基本的构建基类UObject + UClass 提供了最主要的服务: 属性和方法的映射(Reflection of properties and methods) 属性的序列化(Ser.....
分类:编程语言   时间:2015-07-24 20:27:36    阅读次数:195
废弃sqlite代码,备查
using System.Linq;using System.Text;using System.Threading.Tasks;using System.Reflection;using TrustDevKit.Accident_WebService;using TrustDevKit.local...
分类:数据库   时间:2015-07-23 23:35:07    阅读次数:407
SharedPreferencesCompat的由来与简单解析
最近在读项目源码的时候,发现一个SharedPreferencesCompat类,这个类做了一些简单的工作,后来google之后理解了这种写法的缘由,在这里跟大家分享一下。 首先我们直接来看这个类的源码,很简短 /** * Reflection utils to call SharedPreferences$Editor.apply when possible, * falling b...
分类:其他好文   时间:2015-07-23 19:54:38    阅读次数:166
C# 两个获得程序运行路径的函数
EXE文件的存储路径,不太受调用时环境变量的影响:Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location);EXE文件的运行路径,如果不知双击打开的,而是用其他程序调用的,返回的不一定是EXE的...
分类:Windows程序   时间:2015-07-23 19:26:49    阅读次数:186
参数计数不匹配,未处理System.Reflection.TargetParameterCountException
系统出现异常:参数计数不匹配,未处理System.Reflection.TargetParameterCountException,系统会显示如下的异常信息,但异常信息往往与实际异常位置差十万八千量:未处理 System.Reflection.TargetParameterCountExceptio...
分类:其他好文   时间:2015-07-22 22:39:57    阅读次数:239
C#反射
System.reflection 命名空间包含的几个类,允许你反射(解析)这些元数据表的代码 System.Reflection.Assembly System.Reflection.MemberInfo System.Reflection.EventInfo System.Refl...
分类:Windows程序   时间:2015-07-20 19:14:38    阅读次数:125
Powershell查看SSAS Cube占用磁盘空间
以下是用powershell查看Cube占用磁盘空间大小的方式。可以编译成函数也可以直接把参数改成需要的服务器名称。 Param($ServerName="SERVERNAME") $loadInfo = [Reflection.Assembly]::LoadWithPartialName("Mic...
分类:系统相关   时间:2015-07-17 00:06:26    阅读次数:309
生成DLL
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Reflection;using System.Reflection.Emit;namespace EmitD...
分类:其他好文   时间:2015-07-16 16:22:23    阅读次数:112
C#学习笔记(十):反射
反射放射是指在程序运行时动态的获取类的信息的机制,我们下面来看看C#中的反射。TypeType 为 System.Reflection 功能的根,也是访问元数据的主要方式。 使用 Type 的成员获取关于类型声明的信息,如构造函数、方法、字段、属性 (Property) 和类的事件,以及在其中部署该...
分类:Windows程序   时间:2015-07-13 20:14:02    阅读次数:170
unity3d热更新插件uLua学习整理
前言IOS不能热更新,不是因为不能用反射,是因为System.Reflection.Assembly.Load 无法使用System.Reflection.Emit 无法使用System.CodeDom.Compiler 无法使用这三个不能用,就把传统dotnet动态路径坑死了为啥“这三个不能用,就...
分类:编程语言   时间:2015-07-12 20:11:35    阅读次数:1547
912条   上一页 1 ... 56 57 58 59 60 ... 92 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!