02 2014 档案

当打开一个.h或.cpp文件时, Solution Explorer就自动展开文件所在的目录
摘要:当打开一个.h或.cpp文件时, Solution Explorer就自动展开文件所在的目录; 如果不想展开: Tools -> Options -> Projects And Solution ... 阅读全文

posted @ 2014-02-25 10:59 norsd 阅读(169) 评论(0) 推荐(0) 编辑

Tasks 多核查找最大最小值问题
摘要:先贴下代码 _Datas.ParallelForEach(arg_nDataStartIndex, arg_nDataCount, (data) => { dMax = dMax.Max(data.HighPrice); ... 阅读全文

posted @ 2014-02-24 16:47 norsd 阅读(170) 评论(0) 推荐(0) 编辑

ErrorObject OpenAsync(Action<ErrorObject>arg_fnRet)
摘要:ErrorObject OpenAsync(Actionarg_fnRet) public static ErrorObject Open(this ReadWrite arg_rw,IPEndPoint arg_ipport) { var smph =... 阅读全文

posted @ 2014-02-08 22:36 norsd 阅读(151) 评论(0) 推荐(0) 编辑

如何在Template Codes 中能够加载所在的Project的Assembly,获取所有Type
摘要:1.首先要获取Project对象 2.分析得到Project对象生成的bin路径,也就是$(TargetPath) 3.Assembly.LoadFromFile( binpath ) 4.asm.GetTypes(),这里要注意处理Reference Project 代码如下: 1.Get... 阅读全文

posted @ 2014-02-08 18:47 norsd 阅读(156) 评论(0) 推荐(0) 编辑

Template Code 无法使用 this.Host 报错
摘要:问题显示: Error 6 Compiling transformation: 'Microsoft.VisualStudio.TextTemplatingBED07DAE3B6FD53FA947017E5A5F7A123173F8AEEBD8059AD94FFEA4200EC409BE022... 阅读全文

posted @ 2014-02-08 17:08 norsd 阅读(326) 评论(0) 推荐(0) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示