C# Class Apprenda.Log4NetConnectorPolicy.UserInterfaceWorkloadInspector

The IWorkloadInspector to probe for the presence of the log4net assembly in the workload and determine whether the log4net configuration is loaded from the app.config (web.config) or a separate log4net XML document. When found, the log4net configuration is updated to replace the existing appender configuration with the Apprenda appender and the Apprenda appender assembly is added to the workload.
Inheritance: WorkloadInspectorBase
Show file Open project: apprenda/Log4Net-Onboarder Class Usage Examples

Public Methods

Method Description
Execute ( ) : BootstrappingResult

Performs the work of inspecting a workload for the presence of log4net configuration to be modified, and making those modifications if present.

UserInterfaceWorkloadInspector ( BootstrappingRequest request ) : System.IO

Initializes a new instance of the UserInterfaceWorkloadInspector class.

Private Methods

Method Description
ProbeUiComponentForAssemblies ( string uiPath ) : BootstrappingResult

Probe each UI component and attach our appender.

Method Details

Execute() public method

Performs the work of inspecting a workload for the presence of log4net configuration to be modified, and making those modifications if present.
public Execute ( ) : BootstrappingResult
return BootstrappingResult

UserInterfaceWorkloadInspector() public method

Initializes a new instance of the UserInterfaceWorkloadInspector class.
public UserInterfaceWorkloadInspector ( BootstrappingRequest request ) : System.IO
request BootstrappingRequest /// The request. ///
return System.IO