Class ServiceFactoryResolver
- Namespace
- Steeltoe.Common.Expression.Internal.Contexts
- Assembly
- Steeltoe.Common.Expression.dll
public class ServiceFactoryResolver : IServiceResolver
- Inheritance
-
ServiceFactoryResolver
- Implements
- Inherited Members
Constructors
ServiceFactoryResolver(IApplicationContext)
public ServiceFactoryResolver(IApplicationContext applicationContext)
Parameters
applicationContext
IApplicationContext
Methods
GetServiceNameAndType(IEvaluationContext, string, out string)
public static Type GetServiceNameAndType(IEvaluationContext context, string serviceName, out string name)
Parameters
context
IEvaluationContextserviceName
stringname
string
Returns
Resolve(IEvaluationContext, string)
public object Resolve(IEvaluationContext context, string serviceName)
Parameters
context
IEvaluationContextserviceName
string