mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2024-12-23 07:36:31 +01:00
14 lines
405 B
C#
14 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);
|
|
}
|
|
}
|