public ConfigureSettingsSubCommandFactory(IBoxHome boxHome, LocalizedStringsResource names)
 {
     _boxHome      = boxHome;
     _environments = boxHome.GetBoxEnvironments();
     _settings     = boxHome.GetBoxHomeSettings();
     _names        = names;
 }
Example #2
0
 public SubCommandFactory(IBoxPlatformServiceBuilder boxPlatformBuilder, IBoxHome boxHome, LocalizedStringsResource names)
 {
     _boxHome            = boxHome;
     _environments       = boxHome.GetBoxEnvironments();
     _settings           = boxHome.GetBoxHomeSettings();
     _boxPlatformBuilder = boxPlatformBuilder;
     _names = names;
 }
Example #3
0
        public BoxHomeDirectory()
        {
            var settings = new BoxHomeSettings();

            BoxHomeDirectoryName       = settings.BoxHomeDirectoryName;
            BoxHomeEnvironmentVariable = settings.BoxHomeEnvironmentVariable;
            CreateBoxHomeDirectory();

            BoxEnvironments        = new BoxEnvironments(settings.BoxHomeEnvironmentsFileName, this);
            BoxPersistantCache     = new BoxPersistantCache(settings.BoxHomeCacheFileName, this);
            BoxHomeDefaultSettings = new BoxDefaultSettings(settings.BoxHomeSettingsFileName, this);
        }
 public ConfigureSubCommandBase(IBoxHome boxHome)
 {
     _boxHome      = boxHome;
     _environments = boxHome.GetBoxEnvironments();
     _settings     = boxHome.GetBoxHomeSettings();
 }