request/src/request.dispatcher/IRequestDispatcherBuilder.cs

19 lines
663 B
C#

// Copyright (c) The Geekeey Authors
// SPDX-License-Identifier: EUPL-1.2
using Microsoft.Extensions.DependencyInjection;
namespace Geekeey.Request.Dispatcher;
/// <summary>
/// Represents a builder for configuring and registering request dispatchers and their related components.
/// </summary>
public interface IRequestDispatcherBuilder
{
/// <summary>
/// Gets the <see cref="IServiceCollection"/> associated with the request dispatcher builder.
/// Provides access to the underlying service collection for configuring dependencies
/// and registering services required by the request dispatcher.
/// </summary>
IServiceCollection Services { get; }
}