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
파일 보기 프로젝트 열기: apprenda/Log4Net-Onboarder 1 사용 예제들

공개 메소드들

메소드 설명
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