コード例 #1
0
        public static ICascadingConfigurator Load(this ICascadingConfigurator configurator, string path)
        {
            Guard.AgainstNullArgument("configurator", configurator);

            return(configurator.Load(new FileConfigurator(path)));
        }
コード例 #2
0
        public static ICascadingConfigurator LoadLocal(this ICascadingConfigurator configurator)
        {
            Guard.AgainstNullArgument("configurator", configurator);

            return(configurator.Load(new LocalConfigurator()));
        }
コード例 #3
0
        public static ICascadingConfigurator Load(this ICascadingConfigurator configurator, Uri uri)
        {
            Guard.AgainstNullArgument("configurator", configurator);

            return(configurator.Load(new WebConfigurator(uri)));
        }