예제 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SqlServerBuilderExtension"/> class.
 /// </summary>
 /// <param name="builder">The builder.</param>
 public SqlServerBuilderExtension(SagaMediatorBuilder builder)
 {
     this.builder = builder;
 }
예제 #2
0
파일: Wireup.cs 프로젝트: shanselman/NSaga
        /// <summary>
        /// Uses the internal DI container to configure all NSaga components
        /// </summary>
        /// <param name="assembliesToScan">List of assemblies to scan for registration</param>
        /// <returns>an instance of <see cref="SagaMediatorBuilder"/> that guides configuration</returns>
        public static SagaMediatorBuilder UseInternalContainer(params Assembly[] assembliesToScan)
        {
            var builder = new SagaMediatorBuilder(assembliesToScan);

            return(builder);
        }
예제 #3
0
 /// <summary>
 /// Starts the fluent chain to configure <see cref="SqlSagaRepository"/>
 /// </summary>
 /// <param name="builder">The builder.</param>
 /// <returns></returns>
 public static SqlServerBuilderExtension UseSqlServer(this SagaMediatorBuilder builder)
 {
     return(new SqlServerBuilderExtension(builder));
 }
예제 #4
0
파일: Wireup.cs 프로젝트: shanselman/NSaga
        /// <summary>
        /// Uses the internal DI container to configure all NSaga components
        /// </summary>
        /// <returns>an instance of <see cref="SagaMediatorBuilder"/> that guides configuration</returns>
        public static SagaMediatorBuilder UseInternalContainer()
        {
            var builder = new SagaMediatorBuilder();

            return(builder);
        }