Apprenda.Log4NetConnectorPolicy.UserInterfaceWorkloadInspector.Execute C# (CSharp) Method

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
        public override BootstrappingResult Execute()
        {
            var uiComponentResults =
                Directory.EnumerateDirectories(this._request.ComponentPath)
                    .Where(d => File.Exists(Path.Combine(d, "bin", "log4net.dll")))
                    .Select(this.ProbeUiComponentForAssemblies)
                    .ToArray();

            var result = BootstrappingResultExtension.Consolidate(uiComponentResults);
            return result;
        }