Interface IConnectionResolvers
- Namespace
- Cratis.Arc.Connections
- Assembly
- Cratis.Arc.Core.dll
Defines the application's connection resolvers, shared by every storage integration.
public interface IConnectionResolvers
- Extension Methods
Remarks
The application-wide resolution is configured on ConnectionResolution. A storage integration passes its own ConnectionResolutionOptions; when those are configured they take precedence, otherwise the application-wide resolver is used. Every integration therefore resolves through the same resolvers, the same HTTP handling and the same cache.
Methods
For(ConnectionResolutionOptions)
Gets the resolver for a storage integration.
ICachingConnectionResolver? For(ConnectionResolutionOptions options)
Parameters
optionsConnectionResolutionOptionsThe integration's own ConnectionResolutionOptions.
Returns
- ICachingConnectionResolver
The ICachingConnectionResolver, or null when neither the integration nor the application resolves connections, in which case the configured connection is used as it is.