コード例 #1
0
 /// <summary>
 ///     Uses the Stove with nullables, prefer when you writing unit tests.
 /// </summary>
 /// <param name="builder">The builder.</param>
 /// <param name="starterBootstrapperType"></param>
 /// <param name="autoUnitOfWorkInterceptionEnabled"></param>
 /// <returns></returns>
 public static IIocBuilder UseStoveWithNullables(this IIocBuilder builder, Type starterBootstrapperType, bool autoUnitOfWorkInterceptionEnabled = false)
 {
     return(builder.UseStove(starterBootstrapperType, autoUnitOfWorkInterceptionEnabled)
            .UseStoveNullLogger()
            .UseStoveNullEventBus()
            .UseStoveNullObjectMapper()
            .UseStoveNullUnitOfWork()
            .UseStoveNullUnitOfWorkFilterExecuter()
            .UseStoveNullEntityChangedEventHelper()
            .UseStoveNullAsyncQueryableExecuter()
            .UseStoveNullMessageBus());
 }