コード例 #1
0
 /// <summary>
 /// Dispose
 /// </summary>
 /// <param name="someObject">Some object</param>
 public static void Dispose(ref RocketCommanderXna.Graphics.TextureFont someObject)
 {
     if (someObject != null)
         someObject.Dispose();
     someObject = null;
 }
コード例 #2
0
 /// <summary>
 /// Dispose
 /// </summary>
 /// <param name="someObject">Some object</param>
 public static void Dispose(ref RocketCommanderXna.Graphics.LensFlare someObject)
 {
     if (someObject != null)
         someObject.Dispose();
     someObject = null;
 }