Show / Hide Table of Contents

Class CoreComponent

Represents the core component of Relativity Testing Framework that provides configuration management and other core functionality. CoreComponent should be registered in RelativityFacade thru RelyOn<T>() method before other components. Custom configuraton providers, when needed, can be added by setting ConfigurationRoot property with the custom value.

Inheritance
System.Object
CoreComponent
Implements
IRelativityComponent
IWindsorInstaller
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Relativity.Testing.Framework
Assembly: Relativity.Testing.Framework.dll
Syntax
public class CoreComponent : IRelativityComponent

Properties

| Improve this Doc View Source

ConfigurationRoot

Gets or sets the configuration root used by IConfigurationService. If the value is not set, then during Initialize(IWindsorContainer) will create default that use enviroment variables and NUnit parameters as the configuration providers.

Declaration
public IConfigurationRoot ConfigurationRoot { get; set; }
Property Value
Type Description
IConfigurationRoot
| Improve this Doc View Source

LogConsumers

Gets the list of log consumers.

By default consist of:

  • NUnitLogConsumer
  • Relativity.Testing.Framework.Logging.NLogConsumer

Declaration
public List<LogConsumerRegistration> LogConsumers { get; }
Property Value
Type Description
System.Collections.Generic.List<LogConsumerRegistration>

Explicit Interface Implementations

| Improve this Doc View Source

IRelativityComponent.Ensure(IWindsorContainer)

Ensures that component has a connection to Relativity and is able to normally work.

Declaration
void IRelativityComponent.Ensure(IWindsorContainer container)
Parameters
Type Name Description
IWindsorContainer container

The .

| Improve this Doc View Source

IRelativityComponent.Initialize(IWindsorContainer)

This method should invoke all the s necessary for initializing the IRelativityComponent.

Declaration
void IRelativityComponent.Initialize(IWindsorContainer container)
Parameters
Type Name Description
IWindsorContainer container

The container to use for component services registration.

Implements

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