摘要:接上文: public static string ChannelManagerUrl { get { return App.GetSetting(Consts.SETTING_CHANNELMANAGER_URL); } } /// <summary> /// 获取指定的配置项, /// 取值顺序
阅读全文
摘要:private static Lazy<IChannelManager> channelManager=new Lazy<IChannelManager>(() => { if (ChannelManagerUrl == null) throw new InvalidOperationExcepti
阅读全文
摘要:Remoting:(本文摘自百度百科) 简介: 什么是Remoting,简而言之,我们可以将其看作是一种分布式处理方 式。从微软的产品角度来看,可以说Remoting就是DCOM的一种升级,它改善了很多功能,并极好的融合到.Net平台下。Microsoft .NET Remoting 提供了一种允许
阅读全文
摘要:using System;using System.Collections.Generic;using System.Configuration;using System.Data;using System.Data.SqlClient;using System.Diagnostics;using
阅读全文
摘要:public class Myclass { private Myclass() { } public static Myclass Instance { get { if (_instance==null||_instance.IsDisposed)//窗体应用程序才有IsDisposed { _
阅读全文