Add XML docs

This commit is contained in:
Stone_Red
2025-12-23 15:15:18 +01:00
parent 55f26b3a92
commit 3e339b2b7a
26 changed files with 377 additions and 4 deletions
@@ -1,6 +1,14 @@
namespace RemoteExec.Client;
/// <summary>
/// Defines a strategy for selecting a server from a pool of available servers for task distribution.
/// </summary>
public interface ILoadBalancingStrategy
{
/// <summary>
/// Selects the most appropriate server from the available servers based on the strategy's logic.
/// </summary>
/// <param name="availableServers">The collection of available servers to choose from.</param>
/// <returns>The selected server, or <c>null</c> if no suitable server is found.</returns>
ServerConnection? SelectServer(IEnumerable<ServerConnection> availableServers);
}