The main INinjectModule for use with the CQRS package that wires up many of the prerequisites for running CQRS.NET.
More...
|
| | 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. "Cqrs.RegisterDefaultSnapshotStrategy": If set true the DefaultSnapshotStrategy<TAuthenticationToken> will be registered. "Cqrs.RegisterDefaultSnapshotAggregateRepository": If set true the SnapshotRepository<TAuthenticationToken> will be registered. "Cqrs.RegisterDefaultSnapshotBuilder": If set true the DefaultSnapshotBuilder will be registered. More...
|
| |
| | CqrsModule (bool setupForWeb, bool setupForSqlLogging, bool registerDefaultConfigurationManager=false, bool registerDefaultSnapshotAggregateRepository=true, bool registerDefaultSnapshotStrategy=true, bool registerDefaultSnapshotBuilder=true) |
| | 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 | 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...
|
| |
The main INinjectModule for use with the CQRS package that wires up many of the prerequisites for running CQRS.NET.
- Template Parameters
-
| TAuthenticationToken | The Type of the authentication token. |
| TAuthenticationTokenHelper | The Type of the authentication token helper. |
- Type Constraints
-
| TAuthenticationTokenHelper | : | class | |
| TAuthenticationTokenHelper | : | IAuthenticationTokenHelper<TAuthenticationToken> | |