![]() |
CQRS.NET
4.0
A lightweight enterprise Function as a Service (FaaS) framework to write function based serverless and micro-service applications in hybrid multi-datacentre, on-premise and Azure environments.
|
Cqrs.Ninject.Configuration.CqrsModule< TAuthenticationToken, TAuthenticationTokenHelper >.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>.
setupForWeb | Set this to true if you will host this in IIS or some other web-server that provides access to System.Web.HttpContext.Current. |
setupForSqlLogging | Set this to true to use SqlLogger otherwise the ConsoleLogger will be bootstrapped by default. |
registerDefaultConfigurationManager | Set this to true to use ConfigurationManager. If you want to use the Azure one leave this as false (the default) and register it yourself. |
registerDefaultSnapshotAggregateRepository | If set true the SnapshotRepository<TAuthenticationToken> will be registered. |
registerDefaultSnapshotStrategy | If set true the DefaultSnapshotStrategy<TAuthenticationToken> will be registered. |
registerDefaultSnapshotBuilder | If set true the DefaultSnapshotBuilder will be registered. |