GetArgs() публичный Метод

Get a context object from the pool
public GetArgs ( ) : SocketAsyncEventArgs
Результат System.Net.Sockets.SocketAsyncEventArgs
Пример #1
0
 public ServerEntity(Socket socket, int worldID, World world, SocketAsyncPool asyncPool)
     : base(socket, worldID, asyncPool.GetArgs(), asyncPool.GetArgs())
 {
     m_asyncPool = asyncPool;
     Name = worldID.ToString();
     m_world = world;
 }
Пример #2
0
 public ServerEntity(Socket socket, int worldID, World world, SocketAsyncPool asyncPool)
     : base(socket, worldID, asyncPool.GetArgs(), asyncPool.GetArgs())
 {
     m_asyncPool = asyncPool;
     Name        = worldID.ToString();
     m_world     = world;
 }