Class ServiceFactoryResolver
- Namespace
- Steeltoe.Common.Expression.Internal.Contexts
- Assembly
- Steeltoe.Common.Expression.dll
[Obsolete("This feature will be removed in the next major version. See https://steeltoe.io/docs/v3/obsolete for details.")]
public class ServiceFactoryResolver : IServiceResolver
- Inheritance
-
ServiceFactoryResolver
- Implements
- Inherited Members
Constructors
ServiceFactoryResolver(IApplicationContext)
public ServiceFactoryResolver(IApplicationContext applicationContext)
Parameters
applicationContextIApplicationContext
Methods
GetServiceNameAndType(IEvaluationContext, string, out string)
public static Type GetServiceNameAndType(IEvaluationContext context, string serviceName, out string name)
Parameters
contextIEvaluationContextserviceNamestringnamestring
Returns
Resolve(IEvaluationContext, string)
public object Resolve(IEvaluationContext context, string serviceName)
Parameters
contextIEvaluationContextserviceNamestring