mirror of
https://github.com/greenshot/greenshot.git
synced 2025-01-09 15:23:03 -08:00
15 lines
375 B
C#
15 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);
|
|
}
|
|
}
|