示例#1
0
 public static Packet Acquire(Packet p)
 {
     p.Acquire();
     return p;
 }
示例#2
0
 public static void Release(Packet p)
 {
     if (p != null)
         p.Release();
 }
示例#3
0
 public static Packet SetStatic(Packet p)
 {
     p.SetStatic();
     return p;
 }
示例#4
0
        public static void Release(ref Packet p)
        {
            if (p != null)
                p.Release();

            p = null;
        }