sharee.bike-App/TINKLib/Services/IServicesContainer.cs
2021-06-26 20:57:55 +02:00

15 lines
405 B
C#

using System.Collections.Generic;
namespace TINK.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);
}
}