예제 #1
0
        public static ISettBasic Create()
        {
            SettingsProviderManager            spm  = SettingsProviders.GetProviderManager();
            SettingsProviderStrategyCollection spsc = SettingsProviderStrategies.Strategies;

            return(new SettImpl <object>(spm, spsc));
        }
예제 #2
0
        public static ISettWithContext <TSETT> Create <TSETT>() where TSETT : class
        {
            SettingsProviderManager            spm  = SettingsProviders.GetProviderManager();
            SettingsProviderStrategyCollection spsc = SettingsProviderStrategies.Strategies;

            return(new SettImpl <TSETT>(spm, spsc));
        }
예제 #3
0
        //private readonly HashSet<ISettingsProvider> IsInitialized = new HashSet<ISettingsProvider>();

        internal SettingsRepository(SettingsProviderManager spl, SettingsProviderStrategyCollection spsc)
        {
            _spsc = spsc;
            _spl  = spl;
        }