Class ServiceExpressionContext
- 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 ServiceExpressionContext : IServiceExpressionContext
- Inheritance
-
ServiceExpressionContext
- Implements
- Inherited Members
Constructors
ServiceExpressionContext(IApplicationContext)
public ServiceExpressionContext(IApplicationContext applicationContext)
Parameters
applicationContextIApplicationContext
Properties
ApplicationContext
public IApplicationContext ApplicationContext { get; }
Property Value
Methods
ContainsService(string)
public bool ContainsService(string serviceName)
Parameters
serviceNamestring
Returns
ContainsService(string, Type)
public bool ContainsService(string serviceName, Type serviceType)
Parameters
Returns
Equals(object)
public override bool Equals(object other)
Parameters
otherobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
GetService(string)
public object GetService(string serviceName)
Parameters
serviceNamestring
Returns
GetService(string, Type)
public object GetService(string serviceName, Type serviceType)