Table of Contents

Class KeyedServiceConfiguration<TAttr, TService>

Namespace
JobFlow.Core.Infrastructure.Factories
Assembly
JobFlow.Core.dll
public class KeyedServiceConfiguration<TAttr, TService> : IKeyedServiceConfiguration<TAttr, TService> where TAttr : ServiceKeyAttribute

Type Parameters

TAttr
TService
Inheritance
KeyedServiceConfiguration<TAttr, TService>
Implements
Derived
Extension Methods

Methods

Add(string, Type, TAttr)

public virtual void Add(string key, Type implementationType, TAttr metaAttr)

Parameters

key string
implementationType Type
metaAttr TAttr

Add<T>(string, TAttr)

public virtual void Add<T>(string key, TAttr metaAttr) where T : TService

Parameters

key string
metaAttr TAttr

Type Parameters

T

Get(string)

public virtual KeyedServiceDescriptor<TAttr> Get(string key)

Parameters

key string

Returns

KeyedServiceDescriptor<TAttr>