<PackageReference Include="Relativity.Server.Testing.Framework.SDK" Version="10.3.0" />

IRelativityFacade

public interface IRelativityFacade : IDisposable
Represents an interface of facade over Relativity.

Gets the IConfigurationService that represents configuration.

ILogService Log { get; }

Gets the ILogService that provides a set of methods for logging.

string RelativityInstanceVersion { get; }

Gets the Relativity instance version.

Returns the IRelativityComponent of the given type that was registered.

Registers an IRelativityComponent.

IRelativityFacade RelyOn<T>(T component) where T : IRelativityComponent

Registers a component.

void ResetFacade()

Resets the RelativityFacade so that it can be recreated with a new user context.

T Resolve<T>()

Resolves and returns a service by interface.

object Resolve(Type service)

Resolves and returns a service by interface type.