Interface IKeyedServiceConfiguration<TAttr, TService>
- Namespace
- JobFlow.Core.Infrastructure.Factories
- Assembly
- JobFlow.Core.dll
public interface IKeyedServiceConfiguration<TAttr, TService> where TAttr : ServiceKeyAttribute
Type Parameters
TAttr
TService
- Extension Methods
Methods
Add(string, Type, TAttr)
void Add(string key, Type implementationType, TAttr metaAttr)
Parameters
Add<T>(string, TAttr)
void Add<T>(string key, TAttr metaAttr) where T : TService
Parameters
key
stringmetaAttr
TAttr
Type Parameters
T
Get(string)
KeyedServiceDescriptor<TAttr> Get(string key)
Parameters
key
string
Returns
- KeyedServiceDescriptor<TAttr>