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