I have a settings file in my UI layer, and I need to use its values in my business layer. My UI and business layers are in separate assemblies.
I can't access the settings values in the business layer directly, so I currently pass them through the business layer constructor. I am considering making a class that contains all the settings file values and passing it through the business layer constructor.
Is this the best way to access these values, or is there another way?