예제 #1
0
 /// <summary>
 ///  防止没有主动调用Close
 /// </summary>
 public void Dispose()
 {
     if (infoCodeList != null && infoCodeList.Count > 0)
     {
         InfoRemoteHelper.RevokeInfo(this);
     }
 }
예제 #2
0
 /// <summary>
 ///  信息功能关闭
 /// </summary>
 public void Close()
 {
     if (infoCodeList.Count > 0)
     {
         InfoRemoteHelper.RevokeInfo(this);
         infoCodeList = null;
     }
 }