OnProfilerUnregistering() protected method

protected OnProfilerUnregistering ( ProfilerLocation profLoc ) : void
profLoc ProfilerLocation
return void
示例#1
0
        void UnregisterProfiler(MachineWideUninstallation mwUninstl)
        {
            var profLocs = EnvironmentRepository.GetProfilerLocations();

            if (profLocs == null || profLocs.Length == 0)
            {
                return;
            }

            foreach (var profLoc in EnvironmentRepository.GetProfilerLocations())
            {
                mwUninstl.OnProfilerUnregistering(profLoc);
                var stdout = Regsvr32Executor.StartUninstalling(profLoc.PathOfInstalling);
                mwUninstl.OnProfilerUnregistered(stdout);
            }
        }
示例#2
0
        void UnregisterProfiler(MachineWideUninstallation mwUninstl)
        {
            var profLocs = EnvironmentRepository.GetProfilerLocations();
            if (profLocs == null || profLocs.Length == 0)
                return;

            foreach (var profLoc in EnvironmentRepository.GetProfilerLocations())
            {
                mwUninstl.OnProfilerUnregistering(profLoc);
                var stdout = Regsvr32Executor.StartUninstalling(profLoc.PathOfInstalling);
                mwUninstl.OnProfilerUnregistered(stdout);
            }
        }