public static IVostokHostingEnvironment Create([NotNull] VostokHostingEnvironmentSetup setup, [NotNull] VostokHostingEnvironmentFactorySettings settings) => EnvironmentBuilder.Build(setup ?? throw new ArgumentNullException(nameof(setup)), settings);
public static IVostokHostingEnvironment Create([NotNull] VostokHostingEnvironmentSetup setup) => Create(setup, new VostokHostingEnvironmentFactorySettings());
public VostokMultiHostSettings(VostokHostingEnvironmentSetup builder) { EnvironmentSetup = builder; }
public VostokHostSettings([NotNull] IVostokApplication application, [NotNull] VostokHostingEnvironmentSetup environmentSetup) { Application = application ?? throw new ArgumentNullException(nameof(application)); EnvironmentSetup = environmentSetup ?? throw new ArgumentNullException(nameof(environmentSetup)); }
public TestHostSettings([NotNull] IVostokApplication application, [NotNull] VostokHostingEnvironmentSetup environmentSetup) : base(application, environmentSetup) { WarmupConfiguration = false; WarmupZooKeeper = false; }
public VostokMultiHostApplicationSettings([NotNull] IVostokApplication application, [NotNull] VostokMultiHostApplicationIdentifier identifier, VostokHostingEnvironmentSetup environmentSetup = null) { Application = application ?? throw new ArgumentNullException(nameof(application)); Identifier = identifier ?? throw new ArgumentNullException(nameof(identifier)); EnvironmentSetup = environmentSetup ?? (builder => {}); }