Skip to content

Conversation

@bahusoid
Copy link
Member

@bahusoid bahusoid commented Apr 10, 2019

Fixes #2105

Introduced abstract class ConfigurationProvider exposed as ConfigurationProvider.Current.

To skip all configuration calls (fix for Xamarin) just set it to null:

ConfigurationProvider.Current = null;

Also implemented custom provider for tests under .NET Core (see here)

@hazzik hazzik changed the title Ability to replace ConfigurationManager with custom config provider Ability to replace ConfigurationManager with a custom config provider Apr 11, 2019
@hazzik
Copy link
Member

hazzik commented Oct 1, 2019

not sure what you meant exactly there [#1402] - but it's either already supported by using SystemConfigurationManager or can be easily implemented by end user

There we need a way to implement a configuration from IConfiguration interface introduced in .NET Core 2.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Xamarin .NET Standard 2.0.3 ConfigurationManager throws PlatformNotSupported exception in NHibernateLogger

2 participants