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