Refactor FX resolution into its own class (dotnet/core-setup#5582)
authorVitek Karas <vitek.karas@microsoft.com>
Fri, 29 Mar 2019 20:44:16 +0000 (13:44 -0700)
committerGitHub <noreply@github.com>
Fri, 29 Mar 2019 20:44:16 +0000 (13:44 -0700)
commitfce533243288b98ec0d0d9e7955e44cd7872e7c7
treed416298637b5ebbeef559193e2080f616a7c8ac3
parent647dd5d586734241626f8f84909a41712e7614ab
Refactor FX resolution into its own class (dotnet/core-setup#5582)

fx_muxer is a collection of muxer functionality, framework resolution and command line parsing.
This change moves the framework resolution out into its own fx_resolver.

In the fx_resolver, made some of the methods "this" methods so that they don't have to pass the framework maps in arguments.

No functional changes, just moving code around.

Commit migrated from https://github.com/dotnet/core-setup/commit/20f2752ccd2fdbb285a77d66306e5ad2cdb81f07
src/installer/corehost/cli/fxr/CMakeLists.txt
src/installer/corehost/cli/fxr/fx_muxer.cpp
src/installer/corehost/cli/fxr/fx_muxer.h
src/installer/corehost/cli/fxr/fx_resolver.cpp [new file with mode: 0644]
src/installer/corehost/cli/fxr/fx_resolver.h [new file with mode: 0644]
src/installer/corehost/cli/fxr/fx_resolver.messages.cpp [moved from src/installer/corehost/cli/fxr/fx_muxer.messages.cpp with 64% similarity]
src/installer/corehost/common/utils.cpp
src/installer/corehost/common/utils.h