public static DynamicParameter<SwitchParameter> CreateOpenWebParameter(BranchingModulePSCmdletBase cmdLet, int nPosition)
 {
     return new DynamicParameter<SwitchParameter>(cmdLet, "OpenWeb", false, nPosition);
 }
        public static DynamicParameter<string> CreateTeamProjectParameter(BranchingModulePSCmdletBase cmdLet, int nPosition)
        {
            ISet<string> supportedTeamProjects = ControllerFactory.Get<ISettings>().SupportedTeamProjects;

            return new DynamicParameter<string>(cmdLet, "TeamProject", true, nPosition, supportedTeamProjects.ToArray());
        }
 public static DynamicParameter<string> CreateBranchParameter(BranchingModulePSCmdletBase cmdLet, int nPosition)
 {
     return new DynamicParameter<string>(cmdLet, "Branch", false, nPosition);
 }