Table of Contents

Class MongoRunnerOptions

Namespace
Hi.MongoUtils
Assembly
HiNc.dll

Options for configuring a MongoDB runner instance.

public class MongoRunnerOptions
Inheritance
MongoRunnerOptions
Inherited Members
Extension Methods

Properties

AdditionalArguments

Gets or sets additional command-line arguments.

public string AdditionalArguments { get; set; }

Property Value

string

ConnectionTimeout

Gets or sets the connection timeout.

public TimeSpan ConnectionTimeout { get; set; }

Property Value

TimeSpan

DataDirectory

Gets or sets the data directory path.

public string DataDirectory { get; set; }

Property Value

string

KillMongoProcessesWhenCurrentProcessExits

Gets or sets a value indicating whether to kill MongoDB processes when the current process exits.

public bool KillMongoProcessesWhenCurrentProcessExits { get; set; }

Property Value

bool

MongoPort

Gets or sets the MongoDB port.

public int MongoPort { get; set; }

Property Value

int

ReplicaSetSetupTimeout

Gets or sets the replica set setup timeout.

public TimeSpan ReplicaSetSetupTimeout { get; set; }

Property Value

TimeSpan

StandardErrorLogger

Gets or sets the logger for standard error.

public Action<string> StandardErrorLogger { get; set; }

Property Value

Action<string>

StandardOuputLogger

Gets or sets the logger for standard output.

public Action<string> StandardOuputLogger { get; set; }

Property Value

Action<string>