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

WebApiServiceBase

abstract class WebApiServiceBase
Represents an abstract class service object for WebAPI-based wrappers.
protected IAppSettings AppSettings { get; }

Gets the application settings.

Gets the object cache repository.

Gets the Relativity instance information.

protected WebApiServiceBase(RelativityInstanceInfo instanceInfo)

Initializes a new instance of the WebApiServiceBase class.

protected WebApiServiceBase(RelativityInstanceInfo instanceInfo, IObjectCacheRepository repository, IAppSettings appSettings)

Initializes a new instance of the WebApiServiceBase class.

protected void Initialize()

Initializes this instance.

protected void LogError(Exception exception, string messageTemplate, object[] propertyValues)

Logs an error log entry.

protected void LogInformation(string messageTemplate, object[] propertyValues)

Logs an informational log entry.