Esempio n. 1
0
        public void GetDynamicOptions(string category, BootstrapRequest request)
        {
            if (request == null)
            {
                throw new ArgumentNullException("request");
            }

            request.Debug("Calling 'Bootstrap::GetDynamicOptions ({0})'", category);

            switch ((category ?? string.Empty).ToLowerInvariant())
            {
            case "package":
                // request.YieldDynamicOption( "ForceCheck", OptionType.Switch, false);

                break;

            case "source":
                break;

            case "install":
                request.YieldDynamicOption("DestinationPath", "Folder", true);
                break;
            }
        }