From 8f81007517b3879459f41963a79360531f2190d0 Mon Sep 17 00:00:00 2001 From: Doug Bunting Date: Thu, 20 Nov 2014 15:24:49 -0800 Subject: [PATCH] Add xml-docs-test target to end of default build - #EngineeringDay - correct a couple of XML doc issues in the repo --- makefile.shade | 3 +++ .../TagHelpers/TagHelperExecutionContext.cs | 2 +- .../TagHelpers/TagHelperOutput.cs | 2 +- src/Microsoft.AspNet.Razor/Generator/CodeBuilderContext.cs | 3 ++- src/Microsoft.AspNet.Razor/Parser/RazorParser.cs | 7 +++---- src/Microsoft.AspNet.Razor/RazorTemplateEngine.cs | 4 ++-- 6 files changed, 12 insertions(+), 9 deletions(-) diff --git a/makefile.shade b/makefile.shade index 562494d144..f087af75e1 100644 --- a/makefile.shade +++ b/makefile.shade @@ -5,3 +5,6 @@ var AUTHORS='Microsoft Open Technologies, Inc.' use-standard-lifecycle k-standard-goals + +#xml-docs-test target='test' + k-xml-docs-test \ No newline at end of file diff --git a/src/Microsoft.AspNet.Razor.Runtime/TagHelpers/TagHelperExecutionContext.cs b/src/Microsoft.AspNet.Razor.Runtime/TagHelpers/TagHelperExecutionContext.cs index fafe33b303..046ff548bb 100644 --- a/src/Microsoft.AspNet.Razor.Runtime/TagHelpers/TagHelperExecutionContext.cs +++ b/src/Microsoft.AspNet.Razor.Runtime/TagHelpers/TagHelperExecutionContext.cs @@ -52,7 +52,7 @@ namespace Microsoft.AspNet.Razor.Runtime.TagHelpers public string TagName { get; private set; } /// - /// The s' output. + /// The s' output. /// public TagHelperOutput Output { get; set; } diff --git a/src/Microsoft.AspNet.Razor.Runtime/TagHelpers/TagHelperOutput.cs b/src/Microsoft.AspNet.Razor.Runtime/TagHelpers/TagHelperOutput.cs index 82bc3d78cd..4cab64f12d 100644 --- a/src/Microsoft.AspNet.Razor.Runtime/TagHelpers/TagHelperOutput.cs +++ b/src/Microsoft.AspNet.Razor.Runtime/TagHelpers/TagHelperOutput.cs @@ -129,7 +129,7 @@ namespace Microsoft.AspNet.Razor.Runtime.TagHelpers /// /// Generates the 's body. /// - /// string.Empty if is true. otherwise. + /// string.Empty if is true. otherwise. /// public string GenerateContent() { diff --git a/src/Microsoft.AspNet.Razor/Generator/CodeBuilderContext.cs b/src/Microsoft.AspNet.Razor/Generator/CodeBuilderContext.cs index d8c81561c7..5d7897389c 100644 --- a/src/Microsoft.AspNet.Razor/Generator/CodeBuilderContext.cs +++ b/src/Microsoft.AspNet.Razor/Generator/CodeBuilderContext.cs @@ -52,7 +52,8 @@ namespace Microsoft.AspNet.Razor.Generator public string TargetWriterName { get; set; } /// - /// Gets or sets the SHA1 based checksum for the file whose location is defined by . + /// Gets or sets the SHA1 based checksum for the file whose location is defined by + /// . /// public string Checksum { get; set; } } diff --git a/src/Microsoft.AspNet.Razor/Parser/RazorParser.cs b/src/Microsoft.AspNet.Razor/Parser/RazorParser.cs index aa86c3832f..02d2046303 100644 --- a/src/Microsoft.AspNet.Razor/Parser/RazorParser.cs +++ b/src/Microsoft.AspNet.Razor/Parser/RazorParser.cs @@ -22,8 +22,8 @@ namespace Microsoft.AspNet.Razor.Parser /// Initializes a new instance of . /// /// The used for parsing code content. - /// The used for parsing markpup content. - /// The used to resolve + /// The used for parsing markup content. + /// The used to resolve /// s. public RazorParser([NotNull] ParserBase codeParser, [NotNull] ParserBase markupParser, @@ -59,8 +59,7 @@ namespace Microsoft.AspNet.Razor.Parser public bool DesignTimeMode { get; set; } /// - /// Gets the used to resolve - /// s. + /// Gets the used to resolve s. /// protected ITagHelperDescriptorResolver TagHelperDescriptorResolver { get; private set; } diff --git a/src/Microsoft.AspNet.Razor/RazorTemplateEngine.cs b/src/Microsoft.AspNet.Razor/RazorTemplateEngine.cs index 24e615f498..40e10a0474 100644 --- a/src/Microsoft.AspNet.Razor/RazorTemplateEngine.cs +++ b/src/Microsoft.AspNet.Razor/RazorTemplateEngine.cs @@ -160,9 +160,9 @@ namespace Microsoft.AspNet.Razor /// /// A that represents the contents to be parsed. /// The name of the generated class. When null, defaults to - /// . + /// (Host.DefaultClassName). /// The namespace in which the generated class will reside. When null, - /// defaults to . + /// defaults to (Host.DefaultNamespace). /// The file name to use in line pragmas, usually the original Razor file. /// A that represents the results of parsing the content. ///