Пример #1
0
 /// <summary>
 /// Dispose
 /// </summary>
 /// <param name="someObject">Some object</param>
 public static void Dispose(ref XnaTetris.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 XnaTetris.Graphics.LensFlare someObject)
 {
     if (someObject != null)
         someObject.Dispose();
     someObject = null;
 }