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
Inherited Members
Namespace: Relativity.Testing.Framework
Assembly: Relativity.Testing.Framework.dll
Syntax
public class CoreComponent : IRelativityComponent
Properties
| Improve this Doc View SourceConfigurationRoot
Gets or sets the configuration root used by IConfigurationService.
If the value is not set, then during Initialize(IWindsorContainer)
will create default
Declaration
public IConfigurationRoot ConfigurationRoot { get; set; }
Property Value
Type | Description |
---|---|
IConfigurationRoot |
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 SourceIRelativityComponent.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 |
IRelativityComponent.Initialize(IWindsorContainer)
This method should invoke all the
Declaration
void IRelativityComponent.Initialize(IWindsorContainer container)
Parameters
Type | Name | Description |
---|---|---|
IWindsorContainer | container | The |