Class ConnectionResolverFactory
- Namespace
- Cratis.Arc.Connections
- Assembly
- Cratis.Arc.Core.dll
Represents an implementation of IConnectionResolverFactory.
[Singleton]
public class ConnectionResolverFactory : IConnectionResolverFactory
- Inheritance
-
ConnectionResolverFactory
- Implements
- Inherited Members
- Extension Methods
Constructors
ConnectionResolverFactory(IServiceProvider)
Represents an implementation of IConnectionResolverFactory.
public ConnectionResolverFactory(IServiceProvider serviceProvider)
Parameters
serviceProviderIServiceProviderThe IServiceProvider custom resolvers are created through.
Methods
Create(ConnectionResolutionOptions)
Create a resolver from options.
public ICachingConnectionResolver Create(ConnectionResolutionOptions options)
Parameters
optionsConnectionResolutionOptionsThe ConnectionResolutionOptions describing the resolvers.
Returns
- ICachingConnectionResolver
An ICachingConnectionResolver that resolves through the configured slots.