Beispiel #1
0
        public SettingBuilderApi_I SetBasePath(SettingBuilderApi_I builder, DirectoryPath path)
        {
            // It cannot get the configuration global context as it would
            // break the pattern of all being  all encompasing.
            var globalContext = XSettings.Api.Contexts.Get();

            globalContext.BasePath = path;



            return(builder);
        }
Beispiel #2
0
 public static SettingBuilderApi_I SetBasePath(this SettingBuilderApi_I builder, DirectoryPath path)
 {
     return(XFileSettings.SetBasePath(builder, path));
 }
Beispiel #3
0
 public static SettingBuilderApi_I SetBasePath(SettingBuilderApi_I builder, DirectoryPath path)
 {
     return(Api.SetBasePath(builder, path));
 }