mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2024-11-16 15:16:34 +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);
|
|
}
|
|
}
|