框架中的Catalog在MEF框架中,包含了4种Catalog,所有的Catalog的是从System.ComponentModel.Composition.Primitives名称空间下的ComposablePartCatalog抽象类派生下来。AssemblyCatalog:表示从程序集中搜索部...
分类:
其他好文 时间:
2015-05-11 17:21:40
阅读次数:
158
environment: already install xp,win7 and win8PE, left 87G space to install Debian, this space not format for any tpye.Download Debian system image, an...
分类:
其他好文 时间:
2015-05-11 17:21:22
阅读次数:
161
说明:1..NET在System命名空间中提供了ICloneable接口,其中只有唯一的一个方法Clone(),只需要实现这个接口就可以完成原型模式。【即上图中Prototype用ICloneable代替】 2.MemberwiseClone():创建一个浅表副本,方法是创建一个新对象,然后...
分类:
其他好文 时间:
2015-05-11 16:01:59
阅读次数:
157
using System;using System.Collections.Generic;using System.Text;using Microsoft.Office.Interop.Word;using System.IO;using System.Web;using System.Data...
1.查看电脑配置
sudo apt-get install hwinfo
装好后运行hwinfo
默认输出的信息比较长,
可以用使用--short选项:
hwinfo –short就可以告诉你电脑的硬件配置。
2.ubuntu 查看内存和cpu使用情况
free -m
查看内存使用情况
top
查看cpu 和 内存 使用情况
gnome-system-monitor...
分类:
系统相关 时间:
2015-05-11 14:49:10
阅读次数:
220
问题:[fulinux@ubuntu rk3288-5.1]$ adb remount * daemon not running. starting it now on port 5037 ** daemon started successfully *remount of system failed: Permission deniedremount failed解决方法:[fulinux@ub...
分类:
数据库 时间:
2015-05-11 14:48:59
阅读次数:
2517
//把UTC时间转换成北京时间 DateTime now = DateTime.Parse(DateTime.UtcNow.ToString(), new CultureInfo("zh-CN"), System.Globalization.DateTimeStyles.A...
分类:
其他好文 时间:
2015-05-11 14:31:06
阅读次数:
117
多线程,顾名思义,就是在一个应用中实现多个任务,在c#中,线程Threads包含在System.Threading的namespace中。一、创建一个threads,最简单的方法就是创建一个threads实例eg: Thread myThread = new Thread( new ThreadSt...
分类:
编程语言 时间:
2015-05-11 14:27:05
阅读次数:
151
学过Linux或者Java的应该都知道线程的概念,C#也支持通过多个线程来并行执行任务。任何一个C#的程序会开始于一个单线程(由CLR和OS自动创建的主线程)。下面是简单的例子: 1 using System; 2 using System.Threading; 3 4 namespace ...
分类:
编程语言 时间:
2015-05-11 14:22:47
阅读次数:
167
Application Design Concepts and PrinciplesIdentify the effects of an object-oriented approach to system design including the effect of encapsulation, ...
分类:
编程语言 时间:
2015-05-11 14:22:22
阅读次数:
144