Пример #1
0
        public ChocolateyConfiguration()
        {
            RegularOutput              = true;
            PromptForConfirmation      = true;
            DisableCompatibilityChecks = false;
            SourceType      = SourceType.normal;
            Information     = new InformationCommandConfiguration();
            Features        = new FeaturesConfiguration();
            NewCommand      = new NewCommandConfiguration();
            ListCommand     = new ListCommandConfiguration();
            UpgradeCommand  = new UpgradeCommandConfiguration();
            SourceCommand   = new SourcesCommandConfiguration();
            MachineSources  = new List <MachineSourceConfiguration>();
            FeatureCommand  = new FeatureCommandConfiguration();
            ConfigCommand   = new ConfigCommandConfiguration();
            ApiKeyCommand   = new ApiKeyCommandConfiguration();
            PackCommand     = new PackCommandConfiguration();
            PushCommand     = new PushCommandConfiguration();
            PinCommand      = new PinCommandConfiguration();
            OutdatedCommand = new OutdatedCommandConfiguration();
            Proxy           = new ProxyConfiguration();
            ExportCommand   = new ExportCommandConfiguration();
            TemplateCommand = new TemplateCommandConfiguration();
#if DEBUG
            AllowUnofficialBuild = true;
#endif
        }
Пример #2
0
 public ChocolateyConfiguration()
 {
     RegularOutput         = true;
     PromptForConfirmation = true;
     SourceType            = SourceType.normal;
     Information           = new InformationCommandConfiguration();
     Features        = new FeaturesConfiguration();
     NewCommand      = new NewCommandConfiguration();
     ListCommand     = new ListCommandConfiguration();
     UpgradeCommand  = new UpgradeCommandConfiguration();
     SourceCommand   = new SourcesCommandConfiguration();
     MachineSources  = new List <MachineSourceConfiguration>();
     FeatureCommand  = new FeatureCommandConfiguration();
     ConfigCommand   = new ConfigCommandConfiguration();
     ApiKeyCommand   = new ApiKeyCommandConfiguration();
     PackCommand     = new PackCommandConfiguration();
     PushCommand     = new PushCommandConfiguration();
     PinCommand      = new PinCommandConfiguration();
     OutdatedCommand = new OutdatedCommandConfiguration();
     Proxy           = new ProxyConfiguration();
 }