<PackageReference Include="Relativity.Server.Utility.SDK" Version="5000.0.0" />

Config

public class Config
Provides access to kCura.Utility configuration values.

[LogAllEvents, CreateErrorForInvalidDate, IOErrorNumberOfRetries, IOErrorWaitTimeInSeconds, ExportErrorNumberOfRetries, ExportErrorWaitTimeInSeconds]

public static IDictionary ConfigSettings { get; }

Gets the dictionary of configuration values from the kCura.Utility section of this application.

public static bool CreateErrorForInvalidDate { get; }

Indicates whether or not to throw an exception upon encountering empty date strings.

public static int ExportErrorNumberOfRetries { get; }

Indicates the number of times an export action should be retried before failure.

public static int ExportErrorWaitTimeInSeconds { get; }

Indicates how long to wait before retrying a particular export action.

public static int IOErrorNumberOfRetries { get; }

Indicates the number of times an action should be retried before failure.

public static int IOErrorWaitTimeInSeconds { get; }

Indicates how long to wait before retrying a particular action.

public static bool LogAllEvents { get; }

Indicates whether or not to log every event.

public static int MaximumFilesForTapiBridge { get; }

public static int MaxNumberOfFileExportTasks { get; }

public Config()

protected void setDictionaryForNUnit(Hashtable dictionaryIn)

Sets the backing hash table of configuration values.

! To only be used for unit testing in an inheriting class.