Dispose() 공개 메소드

销毁
Call Dispose when you are finished using the IABResLoader. The Dispose method leaves the IABResLoader in an unusable state. After calling Dispose, you must release all references to the IABResLoader so the garbage collector can reclaim the memory that the IABResLoader was occupying.
public Dispose ( ) : void
리턴 void
예제 #1
0
 /// <summary>
 /// Releases all resource used by the <see cref="IABLoader"/> object.
 /// </summary>
 /// <remarks>Call <see cref="Dispose"/> when you are finished using the <see cref="IABLoader"/>. The <see cref="Dispose"/>
 /// method leaves the <see cref="IABLoader"/> in an unusable state. After calling <see cref="Dispose"/>, you must
 /// release all references to the <see cref="IABLoader"/> so the garbage collector can reclaim the memory that the
 /// <see cref="IABLoader"/> was occupying.</remarks>
 public void Dispose()
 {
     if (null != mABLoader)
     {
         mABLoader.Dispose();
         mABLoader = null;
     }
 }
예제 #2
0
 /// <summary>
 /// 释放功能
 /// </summary>
 public void DisPose()
 {
     if (abResLoader != null)
     {
         abResLoader.Dispose();
         abResLoader = null;
     }
 }
예제 #3
0
 /// <summary>
 /// 卸载内存镜像
 /// </summary>
 public void Dispose()
 {
     if (mABResLoader != null)
     {
         mABResLoader.Dispose();
         mABResLoader = null;
     }
 }