示例#1
0
 public static ICascadingConfigurator Add(this ICascadingConfigurator configurator, dynamic value)
 {
     return(configurator.Add(Guid.NewGuid().ToString(), value));
 }
示例#2
0
        public static ICascadingConfigurator Load(this ICascadingConfigurator configurator, string path)
        {
            Guard.AgainstNullArgument("configurator", configurator);

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

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

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