Table of Contents

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

applicationContext IApplicationContext

Methods

GetServiceNameAndType(IEvaluationContext, string, out string)

public static Type GetServiceNameAndType(IEvaluationContext context, string serviceName, out string name)

Parameters

context IEvaluationContext
serviceName string
name string

Returns

Type

Resolve(IEvaluationContext, string)

public object Resolve(IEvaluationContext context, string serviceName)

Parameters

context IEvaluationContext
serviceName string

Returns

object