sharee.bike-App/SharedBusinessLogic/Services/IServicesContainer.cs
2024-04-09 12:53:23 +02:00

15 lines
372 B
C#

using System.Collections.Generic;
namespace ShareeBike.Services
{
public interface IServicesContainer<T> : IEnumerable<T>
{
/// <summary> Get the active service.</summary>
T Active { get; }
/// <summary> Sets service as active service by name. </summary>
/// <param name="active">Name of the new service obecs.</param>
void SetActive(string active);
}
}