public void Describe(Description description)
        {
            description.Title = "Missing Nugets";
            description.ShortDescription = "Could not find nugets";
            description.AddList("Nugets", _nugets);

            if (_problems.Any())
            {
                description.AddList("Problems", _problems);
            }
        }
 public void Describe(Description description)
 {
     description.ShortDescription = "Governs the behavior and verbosity of the runtime diagnostics";
     description.Properties["Tracing Level"] = TraceLevel.ToString();
     description.Properties["Maximum Number of Requests to Keep"] = MaxRequests.ToString();
     description.AddList("Authorization Rules for Diagnostics", AuthorizationRights);
 }
        public void Describe(Description description)
        {
            description.Title = "Create Packages for " + _solution.Name;
            description.ShortDescription = "Version " + _version;

            description.AddList("Nuspecs", _plans);
        }
Exemple #4
0
        public void Describe(Description description)
        {
            description.ShortDescription = "Problems were found for " + _solution.Name;

            var list = description.AddList("Problems", _problems);
            list.Label = "Problems";
        }
Exemple #5
0
        public void Describe(Description description)
        {
            description.Title = Spec.Name;
            description.ShortDescription = "Version " + _version;

            description.AddList("Dependencies", _dependencies);
        }
        void DescribesItself.Describe(Description _)
        {
            _.Title = "Content Negotiation Rules and Configuration";

            if (Formatters.Any())
            {
                _.AddList("Formatters", Formatters);
            }

            _.AddList("Rules", Rules);
            _.AddList("Conneg Querystring Rules", QuerystringParameters);

            if (Corrections.Any())
            {
                _.AddList("Mimetype Corrections", Corrections);
            }
        }
        public void Describe(Description description)
        {
            description.Title = "Dependency Validation";

            if (IsValid())
            {
                description.ShortDescription = "No problems detected";
                return;
            }

            description.ShortDescription = "Problems were detected";

            var list = description.AddList("Problems", _problems);
            list.Label = "Problems";
        }
        public void Describe(Description description)
        {
            description.Title = _solution.Name;

            if (IsValid())
            {
                description.ShortDescription = "No problems found";
                return;
            }

            description.ShortDescription = "Problems were found for " + _solution.Name;

            var list = description.AddList("Problems", _problems);
            list.Label = "Problems";
        }
Exemple #9
0
        public void Describe(Description description)
        {
            description.Title = _conditions.Any() 
                ? _conditions.Select(x => Description.For(x).Title).Join(" and ") 
                : "Always";

            if (_sources.Count > 1)
            {
                description.AddList("Continuations", _sources);
            }
            else if (_sources.Count == 1)
            {
                description.ShortDescription = Description.For(_sources.Single()).ShortDescription;
            }
        }
        public void Describe(Description description)
        {
            description.Title = _conditions.Any()
                ? _conditions.Select(x => Description.For(x).Title).Join(" and ")
                : "Always";

            var continuation = Continuation();

            if (continuation is CompositeContinuation)
            {
                description.AddList("Continuations", continuation.As<CompositeContinuation>());
            }
            else
            {
                description.ShortDescription = Description.For(continuation).ShortDescription;
            }
        }
 public void Describe(Description description)
 {
     var list = description.AddList("ValidationSteps", _steps);
     list.Label = "Validation Steps";
     list.IsOrderDependent = true;
 }
Exemple #12
0
 void DescribesItself.Describe(Description description)
 {
     var filterDesc = Description.For(_filter);
     description.Title = filterDesc.Title;
     description.AddList("Views", _views);
 }
Exemple #13
0
 public void Describe(Description description)
 {
     description.Title = "Error Handling";
     description.AddList("Policies", _chain.ErrorHandlers);
 }
Exemple #14
0
        public void Describe(Description description)
        {
            description.Title = "Publish Report";
            description.ShortDescription = "";

            description.AddList("Details", _items);
        }
 public void Describe(Description description)
 {
     description.Title = Type + " projects";
     description.ShortDescription = "Project templating options";
     description.AddList("Project Types", Templates);
 }
 public void Describe(Description description)
 {
     var list = description.AddList("ConversionFamilies", _converters.AllConverterFamilies());
     list.IsOrderDependent = true;
     list.Label = "Conversion Families";
 }
 public void Describe(Description description)
 {
     description.Title = "View Attachment Log";
     description.AddList("Filters", _logs);
 }
 public void Describe(Description description)
 {
     description.Title = "Replaying recorded output";
     description.AddList("Outputs", _output.Outputs);
 }
 public void Describe(Description description)
 {
     description.AddList("Writes", _output.Outputs);
 }
Exemple #20
0
        void DescribesItself.Describe(Description description)
        {
            description.Title = "Conneg Input";
            description.ShortDescription =
                "Performs content negotiation and model resolution from the request for the type " + InputType().Name;

            description.AddList("Readers", _readers);
        }
Exemple #21
0
        public void Describe(Description _)
        {
            _.ShortDescription =
                "AssetSettings governs everything to do with client side assets, white listed content files, and the creation of server generated template exports";

            _.Properties["Search Mode"] = Mode.ToString();
            _.Properties["Version"] = Version;
            _.Properties["Public Asset Folder"] = DeterminePublicFolder();
            _.Properties["Excluded Files"] = Exclusions;
            _.Properties["Whitelisted file extensions"] = AllowableExtensions.Join(", ");
            _.Properties["File extensions considered to be content"] = ContentMatches.Join(", ");
            _.Properties["Template Cultures"] = TemplateCultures.Join(", ");
            _.Properties["Template Destination"] = TemplateDestination;
            _.AddList("CDN Assets", CdnAssets);
        }
 private void addModelBindersDescription(Description description)
 {
     var list = description.AddList("ModelBinders", AllModelBinders());
     list.Label = "Model Binders (IModelBinder)";
     list.IsOrderDependent = true;
 }
 public void Describe(Description description)
 {
     description.AddList("Encoders", _encoders.Encodings);
 }
 void DescribesItself.Describe(Description description)
 {
     var list = description.AddList("ValidationRules", _rules);
     list.Label = "Validation Rules";
     list.IsOrderDependent = true;
 }
 public void Describe(Description description)
 {
     var list = description.AddList("Property Binders", _propertyBinders.AllPropertyBinders());
     list.Label = "Property Binders";
     list.IsOrderDependent = true;
 }
Exemple #26
0
        public void Describe(Description description)
        {
            description.Title = "Project \"{0}\"".ToFormat(Name);
            description.ShortDescription = FilePath;

            var list = description.AddList("Dependencies", Dependencies);
            list.Label = "Dependencies";
        }
Exemple #27
0
        public void Describe(Description description)
        {
            description.Title = "Solution \"{0}\"".ToFormat(Name);
            description.ShortDescription = Path;

            var configured = description.AddList("SolutionLevel", _configuredDependencies.OrderBy(x => x.Name));
            configured.Label = "Solution-Level";

            var feedsList = description.AddList("Feeds", Feeds);
            feedsList.Label = "NuGet Feeds";

            var projectsList = description.AddList("Projects", Projects);
            projectsList.Label = "Projects";

            var local = LocalDependencies();
            if (local.Any())
            {
                var localList = description.AddList("Local", local.All());
                localList.Label = "Local";
            }

            var missing = MissingNugets();
            if (missing.Any())
            {
                var missingList = description.AddList("Missing", missing);
                missingList.Label = "Missing";
            }
        }
Exemple #28
0
        public void Describe(Description description)
        {
            description.Title = "Package '{0}'".ToFormat(Name);
            description.Properties["Role"] = Role;

            description.Properties["Assemblies"] = Manifest.Assemblies.Join(", ");

            if (Manifest.BinPath != null) description.Properties["BinPath"] = Manifest.BinPath;

            if (Manifest.ContentFileSet != null) description.Properties["Content Files"] = Manifest.ContentFileSet.ToString();

            if (Dependencies != null && Dependencies.Any()) description.AddList("Dependencies", Dependencies);
        }
Exemple #29
0
        void DescribesItself.Describe(Description description)
        {
            description.Title = "Route:  " + Pattern;
            if (_input != null) description.Children["Input"] = Description.For(_input);

            if (_constraints.Any())
            {
                description.AddList("Constraints", _constraints);
            }

            description.Properties["Http Verbs"] = AllowedHttpMethods.Any() ? AllowedHttpMethods.Join(", ") : "Any";

            description.Properties["SessionStateRequirement"] = SessionStateRequirement == null
                                                                    ? "Default"
                                                                    : SessionStateRequirement.ToString();
        }
        public void Describe(Description description)
        {
            description.Title = Name;
            description.ShortDescription = Description;
            if (Url.IsNotEmpty())
            {
                description.Properties["Url"] = Url;
            }

            if (Selections != null && Selections.Any())
            {
                description.AddList("Selections", Selections);
            }

            if (Options != null && Options.Any())
            {
                description.AddList("Options", Options);
            }
        }