Show / Hide Table of Contents

Interface ICommandingDependencyResolverAdapter

An adapter that enables the commanding framework to be used with any IoC container

Namespace: AzureFromTheTrenches.Commanding.Abstractions
Assembly: AzureFromTheTrenches.Commanding.Abstractions.dll
Syntax
public interface ICommandingDependencyResolverAdapter

Properties

| Improve this Doc View Source

AssociatedCommandingRuntime

The commanding runtime associated with this adapter - this will be set by AddCommanding in the core framework

Declaration
ICommandingRuntime AssociatedCommandingRuntime { get; set; }
Property Value
Type Description
ICommandingRuntime

Methods

| Improve this Doc View Source

RegisterInstance<TType>(TType)

Registers a singleton / instances

Declaration
ICommandingDependencyResolverAdapter RegisterInstance<TType>(TType instance)
Parameters
Type Name Description
TType instance

The instance

Returns
Type Description
ICommandingDependencyResolverAdapter

The adapter for use in a fluent API

Type Parameters
Name Description
TType

The type of the singleton

| Improve this Doc View Source

Resolve(Type)

Resolves a type

Declaration
object Resolve(Type type)
Parameters
Type Name Description
Type type

The type to resolve

Returns
Type Description
System.Object

An implementation for the type

| Improve this Doc View Source

Resolve<TType>()

Resolves a type

Declaration
TType Resolve<TType>()
Returns
Type Description
TType

An implementation for the type

Type Parameters
Name Description
TType

The type to resolve

| Improve this Doc View Source

TypeMapping(Type, Type)

Registers a transient type mapping

Declaration
ICommandingDependencyResolverAdapter TypeMapping(Type type, Type impl)
Parameters
Type Name Description
Type type

The resolvable type

Type impl

The implementation type

Returns
Type Description
ICommandingDependencyResolverAdapter

The adapter for use in a fluent API

| Improve this Doc View Source

TypeMapping<TType, TImpl>()

Registers a transient type mappinig

Declaration
ICommandingDependencyResolverAdapter TypeMapping<TType, TImpl>()
    where TImpl : TType
Returns
Type Description
ICommandingDependencyResolverAdapter

The adapter for use in a fluent API

Type Parameters
Name Description
TType

The resolvable type

TImpl

The implementation type

Extension Methods

QueueCommandingDependencies.AddQueues(ICommandingDependencyResolverAdapter, Action<String, ICommand, Exception>, Action<String, ICommand, Exception>, Action<String, ICommand, Exception>)
AzureEventHubCommandingDependencies.AddEventHubCommandAuditing(ICommandingDependencyResolverAdapter, Microsoft.Azure.EventHubs.EventHubClient, IPartitionKeyProvider, AzureEventHubAuditorOptions)
AzureEventHubCommandingDependencies.AddEventHubCommandAuditing(ICommandingDependencyResolverAdapter, String, IPartitionKeyProvider, AzureEventHubAuditorOptions)
AzureEventHubCommandingDependencies.AddEventHubCommandAuditing(ICommandingDependencyResolverAdapter, String, String, IPartitionKeyProvider, AzureEventHubAuditorOptions)
AzureServiceBusCommandingDependencies.AddAzureServiceBus(ICommandingDependencyResolverAdapter)
AzureStorageCommandingDependencies.AddAzureStorageCommanding<TSerializer>(ICommandingDependencyResolverAdapter)
AzureStorageCommandingDependencies.AddAzureStorageCommanding(ICommandingDependencyResolverAdapter)
AzureStorageCommandingDependencies.AddAzureStorageCommandAuditing(ICommandingDependencyResolverAdapter, CloudStorageAccount, CloudBlobContainer, IStorageStrategy, AzureStorageAuditorOptions)
AzureStorageCommandingDependencies.AddAzureStorageCommandAuditing(ICommandingDependencyResolverAdapter, CloudQueue, CloudBlobContainer, IStorageStrategy, AzureStorageAuditorOptions)
AzureStorageCommandingDependencies.AddAzureStorageAuditQueueProcessor(ICommandingDependencyResolverAdapter, CloudQueue, CloudQueue)
CommandingDependencies.AddCommanding(ICommandingDependencyResolverAdapter, Action<Type>)
CommandingDependencies.AddCommanding(ICommandingDependencyResolverAdapter, Options)
CommandingDependencies.AddPreDispatchCommandingAuditor<TDispatchAuditorImpl>(ICommandingDependencyResolverAdapter, Boolean)
CommandingDependencies.AddPostDispatchCommandingAuditor<TDispatchAuditorImpl>(ICommandingDependencyResolverAdapter, Boolean)
CommandingDependencies.AddExecutionCommandingAuditor<TExecutionAuditorImpl>(ICommandingDependencyResolverAdapter, Boolean)
CommandingDependencies.AddAuditItemEnricher<TAuditItemEnricher>(ICommandingDependencyResolverAdapter)
HttpCommandingDependencies.AddHttpCommanding(ICommandingDependencyResolverAdapter, HttpClient)
HttpCommandingDependencies.AddHttpCommanding<TSerializer>(ICommandingDependencyResolverAdapter, HttpClient)
CacheCommandingDependencies.AddCommandCache(ICommandingDependencyResolverAdapter, CacheOptions[])
CacheCommandingDependencies.AddCommandCache(ICommandingDependencyResolverAdapter, Boolean, CacheOptions[])
CacheCommandingDependencies.AddCommandCache(ICommandingDependencyResolverAdapter, ICacheKeyProvider, CacheOptions[])
CacheCommandingDependencies.AddCommandCache(ICommandingDependencyResolverAdapter, ICacheKeyProvider, Boolean, CacheOptions[])
MicrosoftLoggingExtensionsDependencies.AddMicrosoftLoggingExtensionsAuditor(ICommandingDependencyResolverAdapter, LogLevel, LogLevel, MicrosoftLoggingExtensionsAuditorOptions)
  • Improve this Doc
  • View Source
  • 0 Comments
Back to top Copyright © 2018 James Randall