1. Instantiating Types 1.1 Activator.CreateInstance() 1.1.1 Simple Types 1.1.2 Constructors of Simple Types 1.1.3 object 1.1.4 Intentional Error 1.[......] 继续阅读

2020年1月5日 0条评论 1604点热度 0人点赞 痴者工良 阅读全文

1,实例化类型 1.1 Activator.CreateInstance() 1.1.1 简单类型 1.1.2 简单类型的构造函数 1.1.3 object 1.1.4 故意出错 1.1.5 Activator.CreateInstance() 性能 1.2 ConstructorInfo.Inv[......] 继续阅读

2020年1月5日 0条评论 4513点热度 0人点赞 痴者工良 阅读全文

1. Getting Type Information 1.1 Base Classes and Interfaces of Types 1.1.1 Base Class 1.1.2 Getting Implemented Interfaces 1.1.3 Getting Generic In[......] 继续阅读

2020年1月5日 0条评论 1460点热度 1人点赞 痴者工良 阅读全文

1,获取类型的信息 1.1 类型的基类和接口 1.1.1 基类 1.1.2 获取实现的接口 1.1.3 获取泛型接口 1.2 获取属性、字段成员 1.2.1 构造函数 1.2.2 属性 1.2.3 字段 1.2.4 方法 1.2.5 事件 1.2.6 成员 [......] 继续阅读

2020年1月5日 0条评论 4165点热度 1人点赞 痴者工良 阅读全文

1. Overview of Reflection Usage 1.1 What is Reflection 1.2 What can Reflection do 1.3 Type Class 1.4 Categories of Reflection Usage 1.4 Type Some Co[......] 继续阅读

2020年1月5日 5条评论 4946点热度 1人点赞 痴者工良 阅读全文

1,反射的使用概述 1.1 什么是反射 1.2 反射可以做什么 1.3 Type 类 1.4 反射使用归类 1.4 Type 一些常用属性 2,获取 Type 2.1 获取 Type 类型 2.2 数组 Type 生成数组 Type 获取数组 Type 获取数组的元素类型、维数 矩形数组(交错数组[......] 继续阅读

2020年1月5日 5条评论 4807点热度 1人点赞 痴者工良 阅读全文

1. Introduction 1.1 About Reflection and Attributes 2. Assembly Operations 2.1 Getting the Assembly Object 2.1.1 Runtime Getting Assemblies 2.1.2[......] 继续阅读

2019年12月29日 2条评论 1346点热度 0人点赞 痴者工良 阅读全文

1. 说明 1.1 关于反射、特性 2. 程序集操作 2.1 获取 程序集对象(Assembly) 2.1.1 运行时获取程序集 2.1.2 使用方法 2.1.3 从文件加载程序集 2.1.4 使用方法 2.2 Assembly 使用 2.2.1 获取程序集完全限定名称 2.2.2 Assembl[......] 继续阅读

2019年12月29日 2条评论 4754点热度 0人点赞 痴者工良 阅读全文

Through reflection, after obtaining the property names and attributes, the next step is to retrieve the values of the properties. static void[......]继续阅读

2019年12月29日 0条评论 5500点热度 2人点赞 痴者工良 阅读全文

通过反射获取到属性名称以及特性后,要获取属性的值。 static void Main(string[] args) { Test test = new Test() { A = 13510[......]继续阅读

2019年12月29日 0条评论 5459点热度 2人点赞 痴者工良 阅读全文

Study Plan for the Week of 23-19: Finish and master Chapter 19 "Reflection and Metadata" of "C# 7.0 Core Technology Guide". Comp[......] 继续阅读

2019年12月22日 3条评论 1022点热度 0人点赞 痴者工良 阅读全文

23-19日,周学习计划: 1,看完、学会 《C# 7.0 核心技术指南》 第19章《反射和元数据》。 2,看完 《C# 7.0 本质论》 相应 反射部分得内容。 3,早晚上坐车,一周内看完 《PostgreSQL 9.6 从零开始学》,带上平板,随时查资料。 4,周六日实践 Postgre[......] 继续阅读

2019年12月22日 3条评论 3722点热度 0人点赞 痴者工良 阅读全文

There's nothing much to say; just executing the command below can solve the issue: apt-get -u dist-upgrade 统一更新到发布的版本 [......] 继续阅读

2019年12月20日 1条评论 5539点热度 2人点赞 痴者工良 阅读全文

没啥好说,执行下面的命令就可以解决了 apt-get -u dist-upgrade 统一更新到发布的版本 [......] 继续阅读

2019年12月20日 1条评论 5731点热度 2人点赞 痴者工良 阅读全文

Recently, while installing software, I accidentally removed Ubuntu's apt, apt-get, etc., and at that moment, I felt like I was in deep trouble. It pro[......] 继续阅读

2019年12月20日 2条评论 15976点热度 3人点赞 痴者工良 阅读全文

最近在安装软件时,不小心把 Ubuntu 的 apt、apt-get等移除了,当时心情是日了狗了。 当时提示输入一些文字确认。。。我以为是确认安装,直到看到一堆的 Removing ... (Reading database ... 149416 files and directories curr[......]继续阅读

2019年12月20日 2条评论 6080点热度 3人点赞 痴者工良 阅读全文

百度了很久,网上全是抄抄抄,特别是 CSDN,要么卡,要么404,根本用不了。 将下面的源替换到 /etc/apt/source/list 即可 deb http://mirrors.ustc.edu.cn/ubuntu-ports/ bionic universe deb http://mir[......]继续阅读

2019年12月20日 1条评论 1098点热度 24人点赞 痴者工良 阅读全文

百度了很久,网上全是抄抄抄,特别是 CSDN ,要么卡,要么404,根本用不了。 将下面的源替换到 /etc/apt/source/list 即可 deb http://mirrors.ustc.edu.cn/ubuntu-ports/ bionic universe deb http://mi[......]继续阅读

2019年12月20日 1条评论 16980点热度 24人点赞 痴者工良 阅读全文

Method of use: Simply create a new query and paste the code inside. You can simplify the query as needed. SELECT TOP 1000 ST.text AS 'Executed[......]继续阅读

2019年12月18日 0条评论 1290点热度 1人点赞 痴者工良 阅读全文

使用方法: 直接新建查询,将代码粘贴到里面即可。 可以根据需求简化查询 SELECT TOP 1000 ST.text AS '执行的SQL语句', QS.execution_count AS '执行次数', QS.[......]继续阅读

2019年12月18日 0条评论 3979点热度 1人点赞 痴者工良 阅读全文
1383940414254