摘要:
今天在MSDN上看了一下微软这俩个可扩展框架,微软技术高手真很有才! MEF 和 MAF区别: 早期的 .NET Framework 版本引入了 Managed Add-in Framework (MAF),旨在使应用程序能够隔离和管理扩展。 MAF 的重点放在比 MEF 稍高的级别,它集中于扩展隔离以及程序集的加载和卸载,而 MEF 则集中于可发现性、扩展性和可移植性。 这两个框架可以顺利... 阅读全文
推荐排行榜
.NET中一些常用的基本接口IComparable,IComparer,IEnumerable,IEnumerator,IComparable<T>,IList,ICollection,IQueryable,IDictionary
2012-08-03 16:41 by leo.wl2020, 978 阅读, 收藏,
摘要:
NET中一些常用的基本接口IComparable,IComparer,IEnumerable,IEnumerator,IComparable<T>,IList,ICollection,IQueryable,IDictionary等等,实现自定义类型的foreach ,实现自定义类型的比较,以及索引器等,到MSDN上可以看到大量的资料。 我的代码: using System;using... 阅读全文
Log4net简单使用
2012-06-26 21:42 by leo.wl2020, 686 阅读, 收藏,
摘要:
日志记录:static log4net.ILog _log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType)_log.Error(exception);_log.InfoFormat("test:{0}", s.ToString())Log4Net.config:<?xml version="1.0"?> <configuration> <configSections> <se 阅读全文
浙公网安备 33010602011771号