![]() |
CQRS.NET
2.2
A lightweight enterprise framework to write CQRS, event-sourced and micro-service applications in hybrid multi-datacentre, on-premise and Azure environments.
|
The main INinjectModule for use with the CQRS package that wires up many of the prerequisites for running CQRS.NET. More...
Public Member Functions | |
CqrsModule (IConfigurationManager configurationManager=null) | |
Instantiate a new instance of the CqrsModule<TAuthenticationToken,TAuthenticationTokenHelper> that uses the provided configurationManager to read the following configuration settings: "Cqrs.SetupForWeb": If set to true the system will be configured for hosting in IIS or some other web-server that provides access to System.Web.HttpContext.Current. "Cqrs.SetupForSqlLogging": If set to true the SqlLogger will be bootstrapped by default, otherwise the ConsoleLogger will be bootstrapped by default. "Cqrs.RegisterDefaultConfigurationManager": If set true the ConfigurationManager will be registered. If you want to use the Azure one leave this as false (the default) and register it yourself. More... | |
CqrsModule (bool setupForWeb, bool setupForSqlLogging, bool registerDefaultConfigurationManager=false) | |
Instantiate a new instance of the CqrsModule<TAuthenticationToken,TAuthenticationTokenHelper>. More... | |
override void | Load () |
Loads the module into the kernel. More... | |
virtual void | RegisterFactories () |
Register the all factories More... | |
virtual void | RegisterLoggerComponents () |
Register the all components for the ILogger More... | |
virtual void | RegisterAutomapperComponents () |
Register the all IAutomapHelper More... | |
virtual void | RegisterRepositories () |
Register the all repositories More... | |
virtual void | RegisterQueryBuilders () |
Register the all query builders More... | |
virtual void | RegisterServices () |
Register the all services More... | |
virtual void | RegisterCaching () |
Register the all caching stuffs More... | |
virtual void | RegisterCqrsRequirements () |
Register the all Cqrs requirements More... | |
![]() | |
bool | IsRegistered< T > () |
Indicates if the provided T is already registered or not. More... | |
bool | IsRegistered (Type type) |
Indicates if the provided type is already registered or not. More... | |
Properties | |
bool | SetupForWeb [get] |
Indicates that web based wire-up is required rather than console, WPF or winforms based wire-up.s More... | |
bool | SetupForSqlLogging [get] |
Indicates that logging should be configured for SQL Server rather than console. More... | |
bool | RegisterDefaultConfigurationManager [get] |
Indicates that the ConfigurationManager should be registered automatically. More... | |
bool | RegisterDefaultSnapshotStrategy [get] |
Indicates that the ISnapshotStrategy<TAuthenticationToken> should be registered automatically. More... | |
bool | RegisterDefaultSnapshotBuilder [get] |
Indicates that the ISnapshotBuilder should be registered automatically. More... | |
Additional Inherited Members | |
![]() | |
virtual T | Resolve< T > () |
Resolves instances for the specified T . More... | |
virtual object | Resolve (Type type) |
Resolves instances for the specified type . More... | |
The main INinjectModule for use with the CQRS package that wires up many of the prerequisites for running CQRS.NET.
TAuthenticationToken | The Type of the authentication token. |
TAuthenticationTokenHelper | The Type of the authentication token helper. |
TAuthenticationTokenHelper | : | class | |
TAuthenticationTokenHelper | : | IAuthenticationTokenHelper<TAuthenticationToken> |