Show / Hide Table of Contents

Interface IRelativityFacade

Represents an interface of facade over Relativity.

Inherited Members
System.IDisposable.Dispose()
Namespace: Relativity.Testing.Framework
Assembly: Relativity.Testing.Framework.dll
Syntax
public interface IRelativityFacade : IDisposable

Properties

| Improve this Doc View Source

Config

Gets the IConfigurationService that represents configuration.

Declaration
IConfigurationService Config { get; }
Property Value
Type Description
IConfigurationService
| Improve this Doc View Source

Log

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

Declaration
ILogService Log { get; }
Property Value
Type Description
ILogService
| Improve this Doc View Source

RelativityInstanceVersion

Gets the Relativity instance version.

Declaration
string RelativityInstanceVersion { get; }
Property Value
Type Description
System.String

Methods

| Improve this Doc View Source

GetComponent<T>()

Returns the IRelativityComponent of the given type that was registered.

Declaration
T GetComponent<T>()
    where T : class, IRelativityComponent
Returns
Type Description
T

An instance of IRelativityComponent.

Type Parameters
Name Description
T

Type that implements IRelativityComponent.

| Improve this Doc View Source

RelyOn<T>()

Registers an IRelativityComponent.

Declaration
IRelativityFacade RelyOn<T>()
    where T : class, IRelativityComponent, new()
Returns
Type Description
IRelativityFacade

The same IRelativityFacade instance.

Type Parameters
Name Description
T

Type that implements IRelativityComponent.

| Improve this Doc View Source

RelyOn<T>(T)

Registers a component.

Declaration
IRelativityFacade RelyOn<T>(T component)
    where T : class, IRelativityComponent
Parameters
Type Name Description
T component

The component of T type implementing IRelativityComponent.

Returns
Type Description
IRelativityFacade

The same IRelativityFacade instance.

Type Parameters
Name Description
T

Type that implements IRelativityComponent.

| Improve this Doc View Source

ResetFacade()

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

Declaration
void ResetFacade()
| Improve this Doc View Source

Resolve(Type)

Resolves and returns a service by interface type.

Declaration
object Resolve(Type service)
Parameters
Type Name Description
System.Type service

The type of service interface.

Returns
Type Description
System.Object

The service instance.

| Improve this Doc View Source

Resolve<T>()

Resolves and returns a service by interface.

Declaration
T Resolve<T>()
Returns
Type Description
T

The T service.

Type Parameters
Name Description
T

The type of service interface.

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX