updating inline <code> to <c> (#17611)

* updating inline "code" tag to "c" tag

* Apply suggestions from code review

Co-Authored-By: Andrew Stanton-Nurse <andrew@stanton-nurse.com>

* reverting tag

* reverting tag

* reverting entire file
This commit is contained in:
Eddy Nakamura 2019-12-11 16:47:38 -03:00 committed by Artak
parent 11ecc62ea9
commit 5ff9ed68d1
19 changed files with 58 additions and 58 deletions

View File

@ -1,4 +1,4 @@
// Copyright (c) .NET Foundation. All rights reserved. // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System; using System;
@ -15,7 +15,7 @@ namespace Microsoft.AspNetCore.Components
/// Constructs an instance of <see cref="BindElementAttribute"/>. /// Constructs an instance of <see cref="BindElementAttribute"/>.
/// </summary> /// </summary>
/// <param name="element">The tag name of the element.</param> /// <param name="element">The tag name of the element.</param>
/// <param name="suffix">The suffix value. For example, set this to <code>value</code> for <code>bind-value</code>, or set this to <code>null</code> for <code>bind</code>.</param> /// <param name="suffix">The suffix value. For example, set this to <c>value</c> for <c>bind-value</c>, or set this to <see langword="null" /> for <c>bind</c>.</param>
/// <param name="valueAttribute">The name of the value attribute to be bound.</param> /// <param name="valueAttribute">The name of the value attribute to be bound.</param>
/// <param name="changeAttribute">The name of an attribute that will register an associated change event.</param> /// <param name="changeAttribute">The name of an attribute that will register an associated change event.</param>
public BindElementAttribute(string element, string suffix, string valueAttribute, string changeAttribute) public BindElementAttribute(string element, string suffix, string valueAttribute, string changeAttribute)
@ -47,7 +47,7 @@ namespace Microsoft.AspNetCore.Components
/// <summary> /// <summary>
/// Gets the suffix value. /// Gets the suffix value.
/// For example, this will be <code>value</code> to mean <code>bind-value</code>, or <code>null</code> to mean <code>bind</code>. /// For example, this will be <c>value</c> to mean <c>bind-value</c>, or <see langword="null" /> to mean <c>bind</c>.
/// </summary> /// </summary>
public string Suffix { get; } public string Suffix { get; }

View File

@ -7,7 +7,7 @@ using System.Globalization;
namespace Microsoft.AspNetCore.Components namespace Microsoft.AspNetCore.Components
{ {
/// <summary> /// <summary>
/// Configures options for binding subtypes of an HTML <code>input</code> element. /// Configures options for binding subtypes of an HTML <c>input</c> element.
/// </summary> /// </summary>
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true, Inherited = true)] [AttributeUsage(AttributeTargets.Class, AllowMultiple = true, Inherited = true)]
public sealed class BindInputElementAttribute : Attribute public sealed class BindInputElementAttribute : Attribute
@ -15,7 +15,7 @@ namespace Microsoft.AspNetCore.Components
/// <summary> /// <summary>
/// Constructs an instance of <see cref="BindInputElementAttribute"/>. /// Constructs an instance of <see cref="BindInputElementAttribute"/>.
/// </summary> /// </summary>
/// <param name="type">The value of the element's <code>type</code> attribute.</param> /// <param name="type">The value of the element's <c>type</c> attribute.</param>
/// <param name="suffix">The suffix value.</param> /// <param name="suffix">The suffix value.</param>
/// <param name="valueAttribute">The name of the value attribute to be bound.</param> /// <param name="valueAttribute">The name of the value attribute to be bound.</param>
/// <param name="changeAttribute">The name of an attribute that will register an associated change event.</param> /// <param name="changeAttribute">The name of an attribute that will register an associated change event.</param>
@ -46,7 +46,7 @@ namespace Microsoft.AspNetCore.Components
} }
/// <summary> /// <summary>
/// Gets the value of the element's <code>type</code> attribute. /// Gets the value of the element's <c>type</c> attribute.
/// </summary> /// </summary>
public string Type { get; } public string Type { get; }

View File

@ -13,7 +13,7 @@ namespace Microsoft.AspNetCore.Authentication
/// <summary> /// <summary>
/// Returns true if request processing should stop. /// Returns true if request processing should stop.
/// </summary> /// </summary>
/// <returns><code>true</code> if request processing should stop.</returns> /// <returns><see langword="true" /> if request processing should stop.</returns>
Task<bool> HandleRequestAsync(); Task<bool> HandleRequestAsync();
} }

View File

@ -230,8 +230,8 @@ namespace Microsoft.Net.Http.Headers
/// any value originally supplied in result will be overwritten. /// any value originally supplied in result will be overwritten.
/// </param> /// </param>
/// <returns> /// <returns>
/// <code>true</code> if <paramref name="targetValue"/> is found and successfully parsed; otherwise, /// <see langword="true" /> if <paramref name="targetValue"/> is found and successfully parsed; otherwise,
/// <code>false</code>. /// <see langword="false" />.
/// </returns> /// </returns>
// e.g. { "headerValue=10, targetHeaderValue=30" } // e.g. { "headerValue=10, targetHeaderValue=30" }
public static bool TryParseSeconds(StringValues headerValues, string targetValue, out TimeSpan? value) public static bool TryParseSeconds(StringValues headerValues, string targetValue, out TimeSpan? value)
@ -286,8 +286,8 @@ namespace Microsoft.Net.Http.Headers
/// The target cache control directives to look for. /// The target cache control directives to look for.
/// </param> /// </param>
/// <returns> /// <returns>
/// <code>true</code> if <paramref name="targetDirectives"/> is contained in <paramref name="cacheControlDirectives"/>; /// <see langword="true" /> if <paramref name="targetDirectives"/> is contained in <paramref name="cacheControlDirectives"/>;
/// otherwise, <code>false</code>. /// otherwise, <see langword="false" />.
/// </returns> /// </returns>
public static bool ContainsCacheDirective(StringValues cacheControlDirectives, string targetDirectives) public static bool ContainsCacheDirective(StringValues cacheControlDirectives, string targetDirectives)
{ {
@ -367,7 +367,7 @@ namespace Microsoft.Net.Http.Headers
/// greater than Int64.MaxValue. This parameter is passed uninitialized; any value originally supplied in /// greater than Int64.MaxValue. This parameter is passed uninitialized; any value originally supplied in
/// result will be overwritten. /// result will be overwritten.
/// </param> /// </param>
/// <returns><code>true</code> if parsing succeeded; otherwise, <code>false</code>.</returns> /// <returns><see langword="true" /> if parsing succeeded; otherwise, <see langword="false" />.</returns>
public static unsafe bool TryParseNonNegativeInt32(StringSegment value, out int result) public static unsafe bool TryParseNonNegativeInt32(StringSegment value, out int result)
{ {
if (string.IsNullOrEmpty(value.Buffer) || value.Length == 0) if (string.IsNullOrEmpty(value.Buffer) || value.Length == 0)
@ -418,7 +418,7 @@ namespace Microsoft.Net.Http.Headers
/// represents a number greater than Int64.MaxValue. This parameter is passed uninitialized; any value /// represents a number greater than Int64.MaxValue. This parameter is passed uninitialized; any value
/// originally supplied in result will be overwritten. /// originally supplied in result will be overwritten.
/// </param> /// </param>
/// <returns><code>true</code> if parsing succeeded; otherwise, <code>false</code>.</returns> /// <returns><see langword="true" /> if parsing succeeded; otherwise, <see langword="false" />.</returns>
public static unsafe bool TryParseNonNegativeInt64(StringSegment value, out long result) public static unsafe bool TryParseNonNegativeInt64(StringSegment value, out long result)
{ {
if (string.IsNullOrEmpty(value.Buffer) || value.Length == 0) if (string.IsNullOrEmpty(value.Buffer) || value.Length == 0)

View File

@ -223,7 +223,7 @@ namespace Microsoft.AspNetCore.Http
/// "abc.example.com:443" but not "example.com:443". /// "abc.example.com:443" but not "example.com:443".
/// Matching is case insensitive. /// Matching is case insensitive.
/// </remarks> /// </remarks>
/// <returns><code>true</code> if <paramref name="value"/> matches any of the patterns.</returns> /// <returns><see langword="true" /> if <paramref name="value"/> matches any of the patterns.</returns>
public static bool MatchesAny(StringSegment value, IList<StringSegment> patterns) public static bool MatchesAny(StringSegment value, IList<StringSegment> patterns)
{ {
if (value == null) if (value == null)
@ -282,7 +282,7 @@ namespace Microsoft.AspNetCore.Http
/// Compares the equality of the Value property, ignoring case. /// Compares the equality of the Value property, ignoring case.
/// </summary> /// </summary>
/// <param name="other">The <see cref="HostString"/> to compare against.</param> /// <param name="other">The <see cref="HostString"/> to compare against.</param>
/// <returns><code>true</code> if they have the same value.</returns> /// <returns><see langword="true" /> if they have the same value.</returns>
public bool Equals(HostString other) public bool Equals(HostString other)
{ {
if (!HasValue && !other.HasValue) if (!HasValue && !other.HasValue)
@ -296,7 +296,7 @@ namespace Microsoft.AspNetCore.Http
/// Compares against the given object only if it is a HostString. /// Compares against the given object only if it is a HostString.
/// </summary> /// </summary>
/// <param name="obj">The <see cref="object"/> to compare against.</param> /// <param name="obj">The <see cref="object"/> to compare against.</param>
/// <returns><code>true</code> if they have the same value.</returns> /// <returns><see langword="true" /> if they have the same value.</returns>
public override bool Equals(object obj) public override bool Equals(object obj)
{ {
if (ReferenceEquals(null, obj)) if (ReferenceEquals(null, obj))
@ -320,7 +320,7 @@ namespace Microsoft.AspNetCore.Http
/// </summary> /// </summary>
/// <param name="left">The left parameter.</param> /// <param name="left">The left parameter.</param>
/// <param name="right">The right parameter.</param> /// <param name="right">The right parameter.</param>
/// <returns><code>true</code> if both <see cref="HostString"/>'s have the same value.</returns> /// <returns><see langword="true" /> if both <see cref="HostString"/>'s have the same value.</returns>
public static bool operator ==(HostString left, HostString right) public static bool operator ==(HostString left, HostString right)
{ {
return left.Equals(right); return left.Equals(right);
@ -331,7 +331,7 @@ namespace Microsoft.AspNetCore.Http
/// </summary> /// </summary>
/// <param name="left">The left parameter.</param> /// <param name="left">The left parameter.</param>
/// <param name="right">The right parameter.</param> /// <param name="right">The right parameter.</param>
/// <returns><code>true</code> if both <see cref="HostString"/>'s values are not equal.</returns> /// <returns><see langword="true" /> if both <see cref="HostString"/>'s values are not equal.</returns>
public static bool operator !=(HostString left, HostString right) public static bool operator !=(HostString left, HostString right)
{ {
return !left.Equals(right); return !left.Equals(right);

View File

@ -282,7 +282,7 @@ namespace Microsoft.AspNetCore.Http.Headers
/// <summary> /// <summary>
/// Gets the value of header with <paramref name="name"/>. /// Gets the value of header with <paramref name="name"/>.
/// </summary> /// </summary>
/// <remarks><typeparamref name="T"/> must contain a TryParse method with the signature <code>public static bool TryParse(string, out T)</code>.</remarks> /// <remarks><typeparamref name="T"/> must contain a TryParse method with the signature <c>public static bool TryParse(string, out T)</c>.</remarks>
/// <typeparam name="T">The type of the header. /// <typeparam name="T">The type of the header.
/// The given type must have a static TryParse method.</typeparam> /// The given type must have a static TryParse method.</typeparam>
/// <param name="name">The name of the header to retrieve.</param> /// <param name="name">The name of the header to retrieve.</param>
@ -295,7 +295,7 @@ namespace Microsoft.AspNetCore.Http.Headers
/// <summary> /// <summary>
/// Gets the values of header with <paramref name="name"/>. /// Gets the values of header with <paramref name="name"/>.
/// </summary> /// </summary>
/// <remarks><typeparamref name="T"/> must contain a TryParseList method with the signature <code>public static bool TryParseList(IList&lt;string&gt;, out IList&lt;T&gt;)</code>.</remarks> /// <remarks><typeparamref name="T"/> must contain a TryParseList method with the signature <c>public static bool TryParseList(IList&lt;string&gt;, out IList&lt;T&gt;)</c>.</remarks>
/// <typeparam name="T">The type of the header. /// <typeparam name="T">The type of the header.
/// The given type must have a static TryParseList method.</typeparam> /// The given type must have a static TryParseList method.</typeparam>
/// <param name="name">The name of the header to retrieve.</param> /// <param name="name">The name of the header to retrieve.</param>

View File

@ -161,7 +161,7 @@ namespace Microsoft.AspNetCore.Http.Headers
/// <summary> /// <summary>
/// Gets the value of header with <paramref name="name"/>. /// Gets the value of header with <paramref name="name"/>.
/// </summary> /// </summary>
/// <remarks><typeparamref name="T"/> must contain a TryParse method with the signature <code>public static bool TryParse(string, out T)</code>.</remarks> /// <remarks><typeparamref name="T"/> must contain a TryParse method with the signature <c>public static bool TryParse(string, out T)</c>.</remarks>
/// <typeparam name="T">The type of the header. /// <typeparam name="T">The type of the header.
/// The given type must have a static TryParse method.</typeparam> /// The given type must have a static TryParse method.</typeparam>
/// <param name="name">The name of the header to retrieve.</param> /// <param name="name">The name of the header to retrieve.</param>
@ -174,7 +174,7 @@ namespace Microsoft.AspNetCore.Http.Headers
/// <summary> /// <summary>
/// Gets the values of header with <paramref name="name"/>. /// Gets the values of header with <paramref name="name"/>.
/// </summary> /// </summary>
/// <remarks><typeparamref name="T"/> must contain a TryParseList method with the signature <code>public static bool TryParseList(IList&lt;string&gt;, out IList&lt;T&gt;)</code>.</remarks> /// <remarks><typeparamref name="T"/> must contain a TryParseList method with the signature <c>public static bool TryParseList(IList&lt;string&gt;, out IList&lt;T&gt;)</c>.</remarks>
/// <typeparam name="T">The type of the header. /// <typeparam name="T">The type of the header.
/// The given type must have a static TryParseList method.</typeparam> /// The given type must have a static TryParseList method.</typeparam>
/// <param name="name">The name of the header to retrieve.</param> /// <param name="name">The name of the header to retrieve.</param>

View File

@ -90,8 +90,8 @@ namespace Microsoft.AspNetCore.Routing
/// <remarks> /// <remarks>
/// If the <paramref name="value"/> is a string, it will be converted to a <see cref="RegexRouteConstraint"/>. /// If the <paramref name="value"/> is a string, it will be converted to a <see cref="RegexRouteConstraint"/>.
/// ///
/// For example, the string <code>Product[0-9]+</code> will be converted to the regular expression /// For example, the string <c>Product[0-9]+</c> will be converted to the regular expression
/// <code>^(Product[0-9]+)</code>. See <see cref="System.Text.RegularExpressions.Regex"/> for more details. /// <c>^(Product[0-9]+)</c>. See <see cref="System.Text.RegularExpressions.Regex"/> for more details.
/// </remarks> /// </remarks>
public void AddConstraint(string key, object value) public void AddConstraint(string key, object value)
{ {

View File

@ -81,7 +81,7 @@ namespace Microsoft.AspNetCore.Mvc.ModelBinding
/// <see cref="ModelStateDictionary"/> tracks the number of model errors added by calls to /// <see cref="ModelStateDictionary"/> tracks the number of model errors added by calls to
/// <see cref="AddModelError(string, Exception, ModelMetadata)"/> or /// <see cref="AddModelError(string, Exception, ModelMetadata)"/> or
/// <see cref="TryAddModelError(string, Exception, ModelMetadata)"/>. /// <see cref="TryAddModelError(string, Exception, ModelMetadata)"/>.
/// Once the value of <code>MaxAllowedErrors - 1</code> is reached, if another attempt is made to add an error, /// Once the value of <c>MaxAllowedErrors - 1</c> is reached, if another attempt is made to add an error,
/// the error message will be ignored and a <see cref="TooManyModelErrorsException"/> will be added. /// the error message will be ignored and a <see cref="TooManyModelErrorsException"/> will be added.
/// </para> /// </para>
/// <para> /// <para>

View File

@ -1,4 +1,4 @@
// Copyright (c) .NET Foundation. All rights reserved. // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System; using System;
@ -37,7 +37,7 @@ namespace Microsoft.AspNetCore.Mvc.Controllers
/// Determines if a given <paramref name="typeInfo"/> is a controller. /// Determines if a given <paramref name="typeInfo"/> is a controller.
/// </summary> /// </summary>
/// <param name="typeInfo">The <see cref="TypeInfo"/> candidate.</param> /// <param name="typeInfo">The <see cref="TypeInfo"/> candidate.</param>
/// <returns><code>true</code> if the type is a controller; otherwise <code>false</code>.</returns> /// <returns><see langword="true" /> if the type is a controller; otherwise <see langword="false" />.</returns>
protected virtual bool IsController(TypeInfo typeInfo) protected virtual bool IsController(TypeInfo typeInfo)
{ {
if (!typeInfo.IsClass) if (!typeInfo.IsClass)

View File

@ -50,8 +50,8 @@ namespace Microsoft.AspNetCore.Mvc.Formatters
/// Removes the first occurrence of a specific media type from the <see cref="MediaTypeCollection"/>. /// Removes the first occurrence of a specific media type from the <see cref="MediaTypeCollection"/>.
/// </summary> /// </summary>
/// <param name="item"></param> /// <param name="item"></param>
/// <returns><code>true</code> if <paramref name="item"/> is successfully removed; otherwise, <code>false</code>. /// <returns><see langword="true" /> if <paramref name="item"/> is successfully removed; otherwise, <see langword="false" />.
/// This method also returns <code>false</code> if <paramref name="item"/> was not found in the original /// This method also returns <see langword="false" /> if <paramref name="item"/> was not found in the original
/// <see cref="MediaTypeCollection"/>.</returns> /// <see cref="MediaTypeCollection"/>.</returns>
public bool Remove(MediaTypeHeaderValue item) public bool Remove(MediaTypeHeaderValue item)
{ {

View File

@ -25,7 +25,7 @@ namespace Microsoft.AspNetCore.Mvc.Routing
/// <see cref="ControllerActionDescriptor.ActionName"/> /// <see cref="ControllerActionDescriptor.ActionName"/>
/// </para> /// </para>
/// <example> /// <example>
/// For an action like <code>MyApp.Controllers.HomeController.Index()</code>, in order to be selected, the /// For an action like <c>MyApp.Controllers.HomeController.Index()</c>, in order to be selected, the
/// <see cref="RouteData.Values"/> must contain the values /// <see cref="RouteData.Values"/> must contain the values
/// { /// {
/// "action": "Index", /// "action": "Index",
@ -39,11 +39,11 @@ namespace Microsoft.AspNetCore.Mvc.Routing
/// <see cref="IRouteValueProvider"/>) or are considered 'outside' of areas by having the value <c>null</c>. /// <see cref="IRouteValueProvider"/>) or are considered 'outside' of areas by having the value <c>null</c>.
/// </para> /// </para>
/// <example> /// <example>
/// Consider an application with two controllers, each with an <code>Index</code> action method: /// Consider an application with two controllers, each with an <c>Index</c> action method:
/// - <code>MyApp.Controllers.HomeController.Index()</code> /// - <c>MyApp.Controllers.HomeController.Index()</c>
/// - <code>MyApp.Areas.Blog.Controllers.HomeController.Index()</code> /// - <c>MyApp.Areas.Blog.Controllers.HomeController.Index()</c>
/// where <code>MyApp.Areas.Blog.Controllers.HomeController</code> has an area attribute /// where <c>MyApp.Areas.Blog.Controllers.HomeController</c> has an area attribute
/// <code>[Area("Blog")]</code>. /// <c>[Area("Blog")]</c>.
/// ///
/// For <see cref="RouteData.Values"/> like: /// For <see cref="RouteData.Values"/> like:
/// { /// {
@ -51,8 +51,8 @@ namespace Microsoft.AspNetCore.Mvc.Routing
/// "controller": "Home" /// "controller": "Home"
/// } /// }
/// ///
/// <code>MyApp.Controllers.HomeController.Index()</code> will be selected. /// <c>MyApp.Controllers.HomeController.Index()</c> will be selected.
/// <code>MyApp.Area.Blog.Controllers.HomeController.Index()</code> is not considered eligible because the /// <c>MyApp.Area.Blog.Controllers.HomeController.Index()</c> is not considered eligible because the
/// <see cref="RouteData.Values"/> does not contain the value 'Blog' for 'area'. /// <see cref="RouteData.Values"/> does not contain the value 'Blog' for 'area'.
/// ///
/// For <see cref="RouteData.Values"/> like: /// For <see cref="RouteData.Values"/> like:
@ -62,9 +62,9 @@ namespace Microsoft.AspNetCore.Mvc.Routing
/// "controller": "Home" /// "controller": "Home"
/// } /// }
/// ///
/// <code>MyApp.Area.Blog.Controllers.HomeController.Index()</code> will be selected. /// <c>MyApp.Area.Blog.Controllers.HomeController.Index()</c> will be selected.
/// <code>MyApp.Controllers.HomeController.Index()</code> is not considered eligible because the route values /// <c>MyApp.Controllers.HomeController.Index()</c> is not considered eligible because the route values
/// contain a value for 'area'. <code>MyApp.Controllers.HomeController.Index()</code> cannot match any value /// contain a value for 'area'. <c>MyApp.Controllers.HomeController.Index()</c> cannot match any value
/// for 'area' other than <c>null</c>. /// for 'area' other than <c>null</c>.
/// </example> /// </example>
/// </remarks> /// </remarks>

View File

@ -8,7 +8,7 @@ namespace Microsoft.AspNetCore.Mvc.Razor.Internal
/// <summary> /// <summary>
/// Specifies that the attributed property should be bound using request services. /// Specifies that the attributed property should be bound using request services.
/// <para> /// <para>
/// This attribute is used as the backing attribute for the <code>@inject</code> /// This attribute is used as the backing attribute for the <c>@inject</c>
/// Razor directive. /// Razor directive.
/// </para> /// </para>
/// </summary> /// </summary>

View File

@ -1,4 +1,4 @@
// Copyright (c) .NET Foundation. All rights reserved. // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System; using System;
@ -16,7 +16,7 @@ namespace Microsoft.AspNetCore.Mvc.Testing
/// <see cref="Key"/> is equal to <c>TEntryPoint</c> <see cref="Assembly.FullName"/>, /// <see cref="Key"/> is equal to <c>TEntryPoint</c> <see cref="Assembly.FullName"/>,
/// order them by <see cref="Priority"/> in ascending order. /// order them by <see cref="Priority"/> in ascending order.
/// <see cref="WebApplicationFactory{TEntryPoint}"/> will check for the existence of the marker /// <see cref="WebApplicationFactory{TEntryPoint}"/> will check for the existence of the marker
/// in <code>Path.Combine(<see cref="ContentRootPath"/>, Path.GetFileName(<see cref="ContentRootTest"/>))"</code> /// in <c>Path.Combine(<see cref="ContentRootPath"/>, Path.GetFileName(<see cref="ContentRootTest"/>))"</c>
/// and if the file exists it will set the content root to <see cref="ContentRootPath"/>. /// and if the file exists it will set the content root to <see cref="ContentRootPath"/>.
/// </summary> /// </summary>
[AttributeUsage(AttributeTargets.Assembly, Inherited = false, AllowMultiple = true)] [AttributeUsage(AttributeTargets.Assembly, Inherited = false, AllowMultiple = true)]
@ -33,7 +33,7 @@ namespace Microsoft.AspNetCore.Mvc.Testing
/// </param> /// </param>
/// <param name="contentRootPath">The path to the content root. This path can be either relative or absolute. /// <param name="contentRootPath">The path to the content root. This path can be either relative or absolute.
/// In case the path is relative, the path will be combined with /// In case the path is relative, the path will be combined with
/// <code><see cref="Directory.GetCurrentDirectory()"/></code></param> /// <see cref="Directory.GetCurrentDirectory()"/></param>
/// <param name="contentRootTest"> /// <param name="contentRootTest">
/// A file that will be use as a marker to determine that the content root path for the given context is correct. /// A file that will be use as a marker to determine that the content root path for the given context is correct.
/// </param> /// </param>

View File

@ -12,7 +12,7 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
{ {
/// <summary> /// <summary>
/// Represents a list that lets users select multiple items. /// Represents a list that lets users select multiple items.
/// This class is typically rendered as an HTML <code>&lt;select multiple="multiple"&gt;</code> element with the specified collection /// This class is typically rendered as an HTML <c>&lt;select multiple="multiple"&gt;</c> element with the specified collection
/// of <see cref="SelectListItem"/> objects. /// of <see cref="SelectListItem"/> objects.
/// </summary> /// </summary>
public class MultiSelectList : IEnumerable<SelectListItem> public class MultiSelectList : IEnumerable<SelectListItem>

View File

@ -8,7 +8,7 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
{ {
/// <summary> /// <summary>
/// Represents a list that lets users select a single item. /// Represents a list that lets users select a single item.
/// This class is typically rendered as an HTML <code>&lt;select&gt;</code> element with the specified collection /// This class is typically rendered as an HTML <c>&lt;select&gt;</c> element with the specified collection
/// of <see cref="SelectListItem"/> objects. /// of <see cref="SelectListItem"/> objects.
/// </summary> /// </summary>
public class SelectList : MultiSelectList public class SelectList : MultiSelectList

View File

@ -5,7 +5,7 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
{ {
/// <summary> /// <summary>
/// Represents an item in a <see cref="SelectList"/> or <see cref="MultiSelectList"/>. /// Represents an item in a <see cref="SelectList"/> or <see cref="MultiSelectList"/>.
/// This class is typically rendered as an HTML <code>&lt;option&gt;</code> element with the specified /// This class is typically rendered as an HTML <c>&lt;option&gt;</c> element with the specified
/// attribute values. /// attribute values.
/// </summary> /// </summary>
public class SelectListItem public class SelectListItem
@ -54,8 +54,8 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
/// <summary> /// <summary>
/// Gets or sets a value that indicates whether this <see cref="SelectListItem"/> is disabled. /// Gets or sets a value that indicates whether this <see cref="SelectListItem"/> is disabled.
/// This property is typically rendered as a <code>disabled="disabled"</code> attribute in the HTML /// This property is typically rendered as a <c>disabled="disabled"</c> attribute in the HTML
/// <code>&lt;option&gt;</code> element. /// <c>&lt;option&gt;</c> element.
/// </summary> /// </summary>
public bool Disabled { get; set; } public bool Disabled { get; set; }
@ -68,21 +68,21 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
/// <summary> /// <summary>
/// Gets or sets a value that indicates whether this <see cref="SelectListItem"/> is selected. /// Gets or sets a value that indicates whether this <see cref="SelectListItem"/> is selected.
/// This property is typically rendered as a <code>selected="selected"</code> attribute in the HTML /// This property is typically rendered as a <c>selected="selected"</c> attribute in the HTML
/// <code>&lt;option&gt;</code> element. /// <c>&lt;option&gt;</c> element.
/// </summary> /// </summary>
public bool Selected { get; set; } public bool Selected { get; set; }
/// <summary> /// <summary>
/// Gets or sets a value that indicates the display text of this <see cref="SelectListItem"/>. /// Gets or sets a value that indicates the display text of this <see cref="SelectListItem"/>.
/// This property is typically rendered as the inner HTML in the HTML <code>&lt;option&gt;</code> element. /// This property is typically rendered as the inner HTML in the HTML <c>&lt;option&gt;</c> element.
/// </summary> /// </summary>
public string Text { get; set; } public string Text { get; set; }
/// <summary> /// <summary>
/// Gets or sets a value that indicates the value of this <see cref="SelectListItem"/>. /// Gets or sets a value that indicates the value of this <see cref="SelectListItem"/>.
/// This property is typically rendered as a <code>value="..."</code> attribute in the HTML /// This property is typically rendered as a <c>value="..."</c> attribute in the HTML
/// <code>&lt;option&gt;</code> element. /// <c>&lt;option&gt;</c> element.
/// </summary> /// </summary>
public string Value { get; set; } public string Value { get; set; }
} }

View File

@ -57,7 +57,7 @@ namespace Microsoft.AspNetCore.Mvc.ViewComponents
/// <para> /// <para>
/// The full name is defaulted to the full namespace of the view component class, prepended to /// The full name is defaulted to the full namespace of the view component class, prepended to
/// the class name with a '.' character as the separator. If the view component class uses /// the class name with a '.' character as the separator. If the view component class uses
/// <code>ViewComponent</code> as a suffix, the suffix will be omitted from the <see cref="FullName"/>. /// <c>ViewComponent</c> as a suffix, the suffix will be omitted from the <see cref="FullName"/>.
/// </para> /// </para>
/// <example> /// <example>
/// Class Name: Contoso.Products.LoginViewComponent /// Class Name: Contoso.Products.LoginViewComponent
@ -92,7 +92,7 @@ namespace Microsoft.AspNetCore.Mvc.ViewComponents
/// <remarks> /// <remarks>
/// <para> /// <para>
/// The short name is defaulted to the name of the view component class. If the view component class uses /// The short name is defaulted to the name of the view component class. If the view component class uses
/// <code>ViewComponent</code> as a suffix, the suffix will be omitted from the <see cref="ShortName"/>. /// <c>ViewComponent</c> as a suffix, the suffix will be omitted from the <see cref="ShortName"/>.
/// </para> /// </para>
/// <example> /// <example>
/// Class Name: Contoso.Products.LoginViewComponent /// Class Name: Contoso.Products.LoginViewComponent

View File

@ -1,4 +1,4 @@
// Copyright (c) .NET Foundation. All rights reserved. // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System; using System;
@ -54,7 +54,7 @@ namespace Microsoft.AspNetCore.Authentication.WsFederation
/// <summary> /// <summary>
/// Overridden to handle remote signout requests /// Overridden to handle remote signout requests
/// </summary> /// </summary>
/// <returns><code>true</code> if request processing should stop.</returns> /// <returns><see langword="true" /> if request processing should stop.</returns>
public override Task<bool> HandleRequestAsync() public override Task<bool> HandleRequestAsync()
{ {
// RemoteSignOutPath and CallbackPath may be the same, fall through if the message doesn't match. // RemoteSignOutPath and CallbackPath may be the same, fall through if the message doesn't match.