Exemplo n.º 1
0
        private static INSystemConfigurator CreateSystemConfigurator()
        {
            if (NConfigSettings.DetectIsWeb())
            {
                return(new NWebSystemConfigurator());
            }

            return(new NSystemConfigurator());
        }
Exemplo n.º 2
0
        private static IConfigurationRepository CreateRepository()
        {
            if (NConfigSettings.DetectIsWeb())
            {
                return(new ConfigurationRepositoryWeb());
            }

            return(new ConfigurationRepository());
        }