C# Класс 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.
Наследование: WorkloadInspectorBase
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
ProbeUiComponentForAssemblies ( string uiPath ) : BootstrappingResult

Probe each UI component and attach our appender.

Описание методов

Execute() публичный Метод

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
Результат BootstrappingResult

UserInterfaceWorkloadInspector() публичный Метод

Initializes a new instance of the UserInterfaceWorkloadInspector class.
public UserInterfaceWorkloadInspector ( BootstrappingRequest request ) : System.IO
request BootstrappingRequest /// The request. ///
Результат System.IO