<PackageReference Include="Relativity.Server.Import.SDK" Version="2.9.2" />

DictionaryExtensions

static class DictionaryExtensions
Represents extension methods for common dictionary-based operations.
public static bool GetBooleanValue(this IDictionary<string, object> dictionary, string name, bool defaultValue)

Gets the boolean value.

public static TEnum GetEnumValue<TEnum>(this IDictionary<string, object> dictionary, string name, TEnum defaultValue) where TEnum : struct

Gets the enumeration value.

public static int GetInt32Value(this IDictionary<string, object> dictionary, string name, int defaultValue)

Gets the 32-bit integer value.

public static int GetInt32Value(this IDictionary<string, object> dictionary, string name, int defaultValue, int? minValue)

Gets the 32-bit integer value.

public static string GetStringValue(this IDictionary<string, object> dictionary, string name, string defaultValue)

Gets the string value.

public static Uri GetUriValue(this IDictionary<string, object> dictionary, string name, Uri defaultValue)

Gets the URI value.