mirror of
https://github.com/greenshot/greenshot
synced 2025-07-16 10:03:44 -07:00
14 lines
375 B
C#
14 lines
375 B
C#
using System.Collections.Generic;
|
|
|
|
namespace GreenshotPlugin.Interfaces
|
|
{
|
|
public interface IServiceLocator
|
|
{
|
|
IEnumerable<TService> GetAllInstances<TService>();
|
|
TService GetInstance<TService>();
|
|
|
|
void AddService<TService>(params TService[] services);
|
|
|
|
void AddService<TService>(IEnumerable<TService> services);
|
|
}
|
|
}
|