public string get_build_plan_PluginType_Name(BuildPlanRequest request)
 {
     var instance = instances().FirstOrDefault(x => x.Name.EqualsIgnoreCase(request.Name) && x.PluginType.GetFullName() == request.PluginType);
     return instance == null
         ? "Cannot find an Instance named '{0}' for PluginType {1}".ToFormat(request.Name, request.PluginType)
         : instance.DescribeBuildPlan();
 }
Пример #2
0
        public string get_build_plan_PluginType_Name(BuildPlanRequest request)
        {
            var instance = instances().FirstOrDefault(x => x.Name.EqualsIgnoreCase(request.Name) && x.PluginType.GetFullName() == request.PluginType);

            return(instance == null
                ? "Cannot find an Instance named '{0}' for PluginType {1}".ToFormat(request.Name, request.PluginType)
                : instance.DescribeBuildPlan());
        }