Esempio n. 1
0
        public ISiloBuilder CreateSiloBuilder(string siloName, ClusterConfiguration clusterConfiguration)
        {
            ISiloBuilder builder = new SiloBuilder();

            return(builder.ConfigureSiloName(siloName)
                   .UseConfiguration(clusterConfiguration)
                   .ConfigureLogging(loggingBuilder => TestingUtils.ConfigureDefaultLoggingBuilder(loggingBuilder,
                                                                                                   clusterConfiguration.GetOrCreateNodeConfigurationForSilo(siloName).TraceFileName)));
        }
        public ISiloBuilder CreateSiloBuilder(string siloName, ClusterConfiguration clusterConfiguration)
        {
            ISiloBuilder builder = new SiloBuilder();

            return(builder.ConfigureSiloName(siloName).UseConfiguration(clusterConfiguration));
        }