예제 #1
0
 /// <summary>發布設定檔變更事件,直接抓取全域變數發布</summary>
 private void RaiseConfChg()
 {
     if (ConfigChanged != null)
     {
         var config = mConfig.Clone();
         ConfigChanged?.BeginInvoke(
             this,
             new ConfigEventArgs(config),
             obj => {
             config.Dispose();
             config = null;
         },
             null
             );
     }
 }