src/AppMotor.TestCore/Networking/ServerPortProvider.cs
/// <summary>
/// Provides a port to be used for testing.
/// </summary>
Provides a port to be used for testing.
Provides a port to be used for testing .
[MustUseReturnValue]
    [SuppressMessage("Design", "CA1024:Use properties where appropriate")]
    public static int GetNextTestPort()
    {
        lock (s_lock)
        {
            int port = s_nextPort;
            s_nextPort++;
            return port;
        }
    }
[ MustUseReturnValue ] [ SuppressMessage ( " " , " " ) ] public static int GetNextTestPort ( ) { lock ( s_lock ) { int port = s_nextPort ; s_nextPort ++ ; return port ; } }
Provides a port to be used for testing.
Provides a port to be used for testing .