mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2024-11-14 14:26:28 +01:00
14 lines
366 B
C#
14 lines
366 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);
|
|
}
|
|
}
|