码迷,mamicode.com
首页 >  
搜索关键字:generic    ( 7184个结果
[C#]枚举操作(从枚举中获取Description,根据Description获取枚举,将枚举转换为ArrayList)工具类
关键代码: using System;using System.Collections;using System.Collections.Generic;using System.ComponentModel;using System.Reflection;namespace CSharpUtilH...
分类:其他好文   时间:2014-06-28 13:08:37    阅读次数:297
对象的思考1
一个对象能自己能否作为自己的一个成员?using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace ConsoleApp...
分类:其他好文   时间:2014-06-26 00:27:11    阅读次数:169
android中ViewHolder通用简洁写法
public class ViewHolder { // I added a generic return type to reduce the casting noise in client code @SuppressWarnings("unchecked") public static T g...
分类:移动开发   时间:2014-06-25 23:38:42    阅读次数:319
16 如何使一个文本框只能接受数字
(1) 使用NumericUpDown (2) 处理KeyPress 按钮 (3) 处理Text_Changed 事件 using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Li...
分类:其他好文   时间:2014-06-24 21:45:43    阅读次数:173
【C#】利用反射构建实体
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Data;using System.Reflection;namespace RftToModel { ...
分类:其他好文   时间:2014-06-24 10:11:11    阅读次数:151
SharePoint List 查看器
using Microsoft.SharePoint;using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using Syst...
分类:其他好文   时间:2014-06-23 08:15:19    阅读次数:272
客户端调用 CMD 命令并回显结果。
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.IO;using System.Linq;usi...
分类:其他好文   时间:2014-06-23 00:51:01    阅读次数:334
网络模块初始化
初始化相关的文件 include/linux/init.h  初始化相关的宏定义 include/asm-generic/vmlinux.lds.h  编译链接相关的宏定义 init/main.c  启动时的高级初始化 net/core/dev.c  网络设备注册、输入和输出等接口 drivers/net/e100.c  e100驱动程序 初始化函数调用关系 对模块的初始化,...
分类:其他好文   时间:2014-06-22 22:09:21    阅读次数:293
5 在C#中如何调用基类构造器
//基类 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MVATwentyQuestions { class Test { public string _nam...
分类:其他好文   时间:2014-06-22 20:23:05    阅读次数:186
Collection has neither generic type or OneToMany.targetEntity() defined
CollectionhasneithergenerictypeorOneToMany.targetEntity()defined在一对多双向关联关系里,Set如果用泛型,就需要在@OneToMany指明targetEntity多方的实体类,要不就不要用泛型。
分类:Web程序   时间:2014-06-22 10:09:21    阅读次数:356
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!