sharee.bike-App/TINKLib/Services/IServicesContainer.cs

15 lines
405 B
C#
Raw Normal View History

2021-06-26 20:57:55 +02:00
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);
}
}