<PackageReference Include="Relativity.Server.Services.Interfaces.SDK" Version="5000.0.2" />

ExpandoObjectExtensions

public static class ExpandoObjectExtensions
Provides methods for retrieving a representation of an ExpandoObject or its properties based on a corresponding key.
public static string FixCaseForKey(this ExpandoObject expando, string key)

Finds the case-sensitive representation of a key that a ExpandoObject is using.

public static T GetPropertyWithKey<T>(this ExpandoObject expando, string key, T defaultValue = null)

Returns the ExpandoObject property corresponding to the key passed in.

public static FileObject ToFileObject(this ExpandoObject expando)

Converts an ExpandoObject that represents a file (such as that returned by query/queryslim for file fields) into a FileObject model.