Enabled xml doc generation
This commit is contained in:
parent
0bf650a789
commit
028c0fb131
|
|
@ -1,12 +1,7 @@
|
|||
{
|
||||
"adx": { // Packages written by the ADX team and that ship on NuGet.org
|
||||
"rules": [
|
||||
"AssemblyHasDocumentFileRule",
|
||||
"AssemblyHasVersionAttributesRule",
|
||||
"AssemblyHasServicingAttributeRule",
|
||||
"AssemblyHasNeutralResourcesLanguageAttributeRule",
|
||||
"SatellitePackageRule",
|
||||
"StrictSemanticVersionValidationRule"
|
||||
"AdxVerificationCompositeRule"
|
||||
],
|
||||
"packages": {
|
||||
"Microsoft.AspNetCore.Mvc": { },
|
||||
|
|
@ -27,12 +22,7 @@
|
|||
},
|
||||
"Default": { // Rules to run for packages not listed in any other set.
|
||||
"rules": [
|
||||
"AssemblyHasDocumentFileRule",
|
||||
"AssemblyHasVersionAttributesRule",
|
||||
"AssemblyHasServicingAttributeRule",
|
||||
"AssemblyHasNeutralResourcesLanguageAttributeRule",
|
||||
"SatellitePackageRule",
|
||||
"StrictSemanticVersionValidationRule"
|
||||
"DefaultCompositeRule"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@ namespace Microsoft.AspNetCore.Mvc.ActionConstraints
|
|||
/// <summary>
|
||||
/// Creates a new <see cref="ActionConstraintProviderContext"/>.
|
||||
/// </summary>
|
||||
/// <param name="context">The <see cref="Http.HttpContext"/> associated with the request.</param>
|
||||
/// <param name="action">The <see cref="ActionDescriptor"/> for which constraints are being created.</param>
|
||||
/// <param name="items">The list of <see cref="ActionConstraintItem"/> objects.</param>
|
||||
public ActionConstraintProviderContext(
|
||||
|
|
@ -43,6 +44,9 @@ namespace Microsoft.AspNetCore.Mvc.ActionConstraints
|
|||
Results = items;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The <see cref="Http.HttpContext"/> associated with the request.
|
||||
/// </summary>
|
||||
public HttpContext HttpContext { get; }
|
||||
|
||||
/// <summary>
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ namespace Microsoft.AspNetCore.Mvc.Filters
|
|||
/// </para>
|
||||
/// <para>
|
||||
/// Synchronous filters, such as <see cref="IActionFilter"/>, have a before-method, such as
|
||||
/// <see cref="IActionFilter.OnActionExecuting)"/>, and an after-method, such as
|
||||
/// <see cref="IActionFilter.OnActionExecuting"/>, and an after-method, such as
|
||||
/// <see cref="IActionFilter.OnActionExecuted"/>. A synchronous filter with a lower numeric <see cref="Order"/>
|
||||
/// value will have its before-method executed before that of a filter with a higher value of
|
||||
/// <see cref="Order"/>. During the after-stage of the filter, a synchronous filter with a lower
|
||||
|
|
|
|||
|
|
@ -139,12 +139,12 @@ namespace Microsoft.AspNetCore.Mvc.ModelBinding
|
|||
public abstract NestedScope EnterNestedScope();
|
||||
|
||||
/// <summary>
|
||||
/// Removes a layer of state pushed by calling <see cref="EnterNestedScope"/>.
|
||||
/// Removes a layer of state pushed by calling <see cref="M:EnterNestedScope"/>.
|
||||
/// </summary>
|
||||
protected abstract void ExitNestedScope();
|
||||
|
||||
/// <summary>
|
||||
/// Return value of <see cref="ModelBindingContext.EnterNestedScope"/>. Should be disposed
|
||||
/// Return value of <see cref="M:EnterNestedScope"/>. Should be disposed
|
||||
/// by caller when child binding context state should be popped off of
|
||||
/// the <see cref="ModelBindingContext"/>.
|
||||
/// </summary>
|
||||
|
|
@ -162,7 +162,7 @@ namespace Microsoft.AspNetCore.Mvc.ModelBinding
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// Exits the <see cref="NestedScope"/> created by calling <see cref="ModelBindingContext.EnterNestedScope"/>.
|
||||
/// Exits the <see cref="NestedScope"/> created by calling <see cref="M:EnterNestedScope"/>.
|
||||
/// </summary>
|
||||
public void Dispose()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -143,7 +143,7 @@ namespace Microsoft.AspNetCore.Mvc.ModelBinding
|
|||
/// <see cref="UnderlyingOrModelType"/>.
|
||||
/// </summary>
|
||||
/// <value>
|
||||
/// An <see cref="IEnumerable{KeyValuePair{EnumGroupAndName, string}"/> of mappings between
|
||||
/// An <see cref="IEnumerable{T}"/> of <see cref="KeyValuePair{EnumGroupAndName, String}"/> of mappings between
|
||||
/// <see cref="Enum"/> field groups, names and values. <c>null</c> if <see cref="IsEnum"/> is <c>false</c>.
|
||||
/// </value>
|
||||
public abstract IEnumerable<KeyValuePair<EnumGroupAndName, string>> EnumGroupedDisplayNamesAndValues { get; }
|
||||
|
|
@ -152,7 +152,7 @@ namespace Microsoft.AspNetCore.Mvc.ModelBinding
|
|||
/// Gets the names and values of all <see cref="Enum"/> values in <see cref="UnderlyingOrModelType"/>.
|
||||
/// </summary>
|
||||
/// <value>
|
||||
/// An <see cref="IReadOnlyDictionary{string, string}"/> of mappings between <see cref="Enum"/> field names
|
||||
/// An <see cref="IReadOnlyDictionary{String, String}"/> of mappings between <see cref="Enum"/> field names
|
||||
/// and values. <c>null</c> if <see cref="IsEnum"/> is <c>false</c>.
|
||||
/// </value>
|
||||
public abstract IReadOnlyDictionary<string, string> EnumNamesAndValues { get; }
|
||||
|
|
|
|||
|
|
@ -110,7 +110,7 @@ namespace Microsoft.AspNetCore.Mvc.ModelBinding
|
|||
|
||||
/// <summary>
|
||||
/// Gets the number of errors added to this instance of <see cref="ModelStateDictionary"/> via
|
||||
/// <see cref="AddModelError"/> or <see cref="TryAddModelError"/>.
|
||||
/// <see cref="M:AddModelError"/> or <see cref="M:TryAddModelError"/>.
|
||||
/// </summary>
|
||||
public int ErrorCount { get; private set; }
|
||||
|
||||
|
|
@ -203,6 +203,7 @@ namespace Microsoft.AspNetCore.Mvc.ModelBinding
|
|||
/// </summary>
|
||||
/// <param name="key">The key of the <see cref="ModelStateEntry"/> to add errors to.</param>
|
||||
/// <param name="exception">The <see cref="Exception"/> to add.</param>
|
||||
/// <param name="metadata">The <see cref="ModelMetadata"/> associated with the model.</param>
|
||||
public void AddModelError(string key, Exception exception, ModelMetadata metadata)
|
||||
{
|
||||
if (key == null)
|
||||
|
|
@ -230,6 +231,7 @@ namespace Microsoft.AspNetCore.Mvc.ModelBinding
|
|||
/// </summary>
|
||||
/// <param name="key">The key of the <see cref="ModelStateEntry"/> to add errors to.</param>
|
||||
/// <param name="exception">The <see cref="Exception"/> to add.</param>
|
||||
/// <param name="metadata">The <see cref="ModelMetadata"/> associated with the model.</param>
|
||||
/// <returns>
|
||||
/// <c>True</c> if the given error was added, <c>false</c> if the error was ignored.
|
||||
/// See <see cref="MaxAllowedErrors"/>.
|
||||
|
|
@ -449,9 +451,9 @@ namespace Microsoft.AspNetCore.Mvc.ModelBinding
|
|||
/// the <see cref="ModelStateEntry"/> with the specified <paramref name="key"/>.
|
||||
/// </summary>
|
||||
/// <param name="key">The key for the <see cref="ModelStateEntry"/> entry.</param>
|
||||
/// <param name="rawvalue">The raw value for the <see cref="ModelStateEntry"/> entry.</param>
|
||||
/// <param name="rawValue">The raw value for the <see cref="ModelStateEntry"/> entry.</param>
|
||||
/// <param name="attemptedValue">
|
||||
/// The values of <param name="rawValue"/> in a comma-separated <see cref="string"/>.
|
||||
/// The values of <paramref name="rawValue"/> in a comma-separated <see cref="string"/>.
|
||||
/// </param>
|
||||
public void SetModelValue(string key, object rawValue, string attemptedValue)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ namespace Microsoft.AspNetCore.Mvc.ModelBinding.Validation
|
|||
/// <summary>
|
||||
/// Gets the list of <see cref="ClientValidatorItem"/> instances. <see cref="IClientModelValidatorProvider"/>
|
||||
/// instances should add the appropriate <see cref="ClientValidatorItem.Validator"/> properties when
|
||||
/// <see cref="IClientModelValidatorProvider.CreateValidators(ClientValidatorProviderContext)()"/>
|
||||
/// <see cref="IClientModelValidatorProvider.CreateValidators(ClientValidatorProviderContext)"/>
|
||||
/// is called.
|
||||
/// </summary>
|
||||
public IList<ClientValidatorItem> Results { get; }
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ namespace Microsoft.AspNetCore.Mvc.ModelBinding
|
|||
/// multiple values were submitted.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// Treat <see cref="ValueProviderResult"/> as an <see cref="IEnumerable{string}"/> to consume all values,
|
||||
/// Treat <see cref="ValueProviderResult"/> as an <see cref="IEnumerable{String}"/> to consume all values,
|
||||
/// regardless of whether a single value or multiple values were submitted.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
|
|
@ -46,7 +46,7 @@ namespace Microsoft.AspNetCore.Mvc.ModelBinding
|
|||
/// <summary>
|
||||
/// Creates a new <see cref="ValueProviderResult"/>.
|
||||
/// </summary>
|
||||
/// <param name="value">The submitted value.</param>
|
||||
/// <param name="values">The submitted values.</param>
|
||||
/// <param name="culture">The <see cref="CultureInfo"/> associated with this value.</param>
|
||||
public ValueProviderResult(StringValues values, CultureInfo culture)
|
||||
{
|
||||
|
|
@ -134,9 +134,9 @@ namespace Microsoft.AspNetCore.Mvc.ModelBinding
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="IEnumerator{string}"/> for this <see cref="ValueProviderResult"/>.
|
||||
/// Gets an <see cref="IEnumerator{String}"/> for this <see cref="ValueProviderResult"/>.
|
||||
/// </summary>
|
||||
/// <returns>An <see cref="IEnumerator{string}"/>.</returns>
|
||||
/// <returns>An <see cref="IEnumerator{String}"/>.</returns>
|
||||
public IEnumerator<string> GetEnumerator()
|
||||
{
|
||||
return ((IEnumerable<string>)Values).GetEnumerator();
|
||||
|
|
|
|||
|
|
@ -7,7 +7,9 @@
|
|||
},
|
||||
"compilationOptions": {
|
||||
"warningsAsErrors": true,
|
||||
"keyFile": "../../tools/Key.snk"
|
||||
"keyFile": "../../tools/Key.snk",
|
||||
"nowarn": [ "CS1591" ],
|
||||
"xmlDoc": true
|
||||
},
|
||||
"dependencies": {
|
||||
"Microsoft.AspNetCore.Routing.Abstractions": "1.0.0-*",
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ namespace Microsoft.AspNetCore.Mvc.ApiExplorer
|
|||
/// The <see cref="IActionDescriptorCollectionProvider"/>.
|
||||
/// </param>
|
||||
/// <param name="apiDescriptionProviders">
|
||||
/// The <see cref="IEnumerable{IApiDescriptionProvider}}"/>.
|
||||
/// The <see cref="IEnumerable{IApiDescriptionProvider}"/>.
|
||||
/// </param>
|
||||
public ApiDescriptionGroupCollectionProvider(
|
||||
IActionDescriptorCollectionProvider actionDescriptorCollectionProvider,
|
||||
|
|
|
|||
|
|
@ -589,13 +589,6 @@ namespace Microsoft.AspNetCore.Mvc.ApiExplorer
|
|||
Visit(context, source, containerName: string.Empty);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Visits a node in a model, and attempts to create <see cref="ApiParameterDescription"/> for any
|
||||
/// model properties that are leaf nodes (see comments).
|
||||
/// </summary>
|
||||
/// <param name="modelMetadata">The metadata for the model.</param>
|
||||
/// <param name="ambientSource">The <see cref="BindingSource"/> from the ambient context.</param>
|
||||
/// <param name="containerName">The current name prefix (to prepend to property names).</param>
|
||||
private void Visit(
|
||||
ApiParameterDescriptionContext bindingContext,
|
||||
BindingSource ambientSource,
|
||||
|
|
|
|||
|
|
@ -7,7 +7,9 @@
|
|||
},
|
||||
"compilationOptions": {
|
||||
"warningsAsErrors": true,
|
||||
"keyFile": "../../tools/Key.snk"
|
||||
"keyFile": "../../tools/Key.snk",
|
||||
"nowarn": [ "CS1591" ],
|
||||
"xmlDoc": true
|
||||
},
|
||||
"dependencies": {
|
||||
"Microsoft.AspNetCore.Mvc.Core": "1.0.0-*",
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ using Microsoft.Extensions.Logging;
|
|||
namespace Microsoft.AspNetCore.Mvc
|
||||
{
|
||||
/// <summary>
|
||||
/// An <see cref="ActionResult"/> that on execution invokes <see cref="AuthenticationManager.ChallengeAsync"/>.
|
||||
/// An <see cref="ActionResult"/> that on execution invokes <see cref="M:AuthenticationManager.ChallengeAsync"/>.
|
||||
/// </summary>
|
||||
public class ChallengeResult : ActionResult
|
||||
{
|
||||
|
|
@ -38,7 +38,7 @@ namespace Microsoft.AspNetCore.Mvc
|
|||
/// Initializes a new instance of <see cref="ChallengeResult"/> with the
|
||||
/// specified authentication schemes.
|
||||
/// </summary>
|
||||
/// <param name="authenticationScheme">The authentication schemes to challenge.</param>
|
||||
/// <param name="authenticationSchemes">The authentication schemes to challenge.</param>
|
||||
public ChallengeResult(IList<string> authenticationSchemes)
|
||||
: this(authenticationSchemes, properties: null)
|
||||
{
|
||||
|
|
@ -71,7 +71,7 @@ namespace Microsoft.AspNetCore.Mvc
|
|||
/// Initializes a new instance of <see cref="ChallengeResult"/> with the
|
||||
/// specified authentication schemes and <paramref name="properties"/>.
|
||||
/// </summary>
|
||||
/// <param name="authenticationScheme">The authentication scheme to challenge.</param>
|
||||
/// <param name="authenticationSchemes">The authentication scheme to challenge.</param>
|
||||
/// <param name="properties"><see cref="AuthenticationProperties"/> used to perform the authentication
|
||||
/// challenge.</param>
|
||||
public ChallengeResult(IList<string> authenticationSchemes, AuthenticationProperties properties)
|
||||
|
|
|
|||
|
|
@ -935,7 +935,7 @@ namespace Microsoft.AspNetCore.Mvc
|
|||
/// <summary>
|
||||
/// Creates a <see cref="ChallengeResult"/> with the specified authentication schemes.
|
||||
/// </summary>
|
||||
/// <param name="authenticationScheme">The authentication schemes to challenge.</param>
|
||||
/// <param name="authenticationSchemes">The authentication schemes to challenge.</param>
|
||||
/// <returns>The created <see cref="ChallengeResult"/> for the response.</returns>
|
||||
[NonAction]
|
||||
public virtual ChallengeResult Challenge(IList<string> authenticationSchemes)
|
||||
|
|
@ -967,7 +967,7 @@ namespace Microsoft.AspNetCore.Mvc
|
|||
/// Creates a <see cref="ChallengeResult"/> with the specified specified authentication schemes and
|
||||
/// <paramref name="properties" />.
|
||||
/// </summary>
|
||||
/// <param name="authenticationScheme">The authentication schemes to challenge.</param>
|
||||
/// <param name="authenticationSchemes">The authentication schemes to challenge.</param>
|
||||
/// <param name="properties"><see cref="AuthenticationProperties"/> used to perform the authentication
|
||||
/// challenge.</param>
|
||||
/// <returns>The created <see cref="ChallengeResult"/> for the response.</returns>
|
||||
|
|
@ -997,7 +997,7 @@ namespace Microsoft.AspNetCore.Mvc
|
|||
/// <summary>
|
||||
/// Creates a <see cref="ForbidResult"/> with the specified authentication schemes.
|
||||
/// </summary>
|
||||
/// <param name="authenticationScheme">The authentication schemes to challenge.</param>
|
||||
/// <param name="authenticationSchemes">The authentication schemes to challenge.</param>
|
||||
/// <returns>The created <see cref="ForbidResult"/> for the response.</returns>
|
||||
[NonAction]
|
||||
public virtual ForbidResult Forbid(IList<string> authenticationSchemes)
|
||||
|
|
@ -1029,7 +1029,7 @@ namespace Microsoft.AspNetCore.Mvc
|
|||
/// Creates a <see cref="ForbidResult"/> with the specified specified authentication schemes and
|
||||
/// <paramref name="properties" />.
|
||||
/// </summary>
|
||||
/// <param name="authenticationScheme">The authentication schemes to challenge.</param>
|
||||
/// <param name="authenticationSchemes">The authentication schemes to challenge.</param>
|
||||
/// <param name="properties"><see cref="AuthenticationProperties"/> used to perform the authentication
|
||||
/// challenge.</param>
|
||||
/// <returns>The created <see cref="ForbidResult"/> for the response.</returns>
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@ namespace Microsoft.AspNetCore.Mvc.Controllers
|
|||
/// <summary>
|
||||
/// Releases a controller.
|
||||
/// </summary>
|
||||
/// <param name="context">The <see cref="ControllerContext"/> for the executing action.</param>
|
||||
/// <param name="controller">The controller to release.</param>
|
||||
void Release(ControllerContext context, object controller);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@ namespace Microsoft.AspNetCore.Mvc.Controllers
|
|||
/// <summary>
|
||||
/// Releases a controller instance.
|
||||
/// </summary>
|
||||
/// <param name="context"><see cref="ControllerContext"/> for the executing action.</param>
|
||||
/// <param name="controller">The controller.</param>
|
||||
void ReleaseController(ControllerContext context, object controller);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ using Microsoft.Extensions.Logging;
|
|||
namespace Microsoft.AspNetCore.Mvc
|
||||
{
|
||||
/// <summary>
|
||||
/// An <see cref="ActionResult"/> that on execution invokes <see cref="AuthenticationManager.ForbidAsync"/>.
|
||||
/// An <see cref="ActionResult"/> that on execution invokes <see cref="M:AuthenticationManager.ForbidAsync"/>.
|
||||
/// </summary>
|
||||
public class ForbidResult : ActionResult
|
||||
{
|
||||
|
|
@ -38,7 +38,7 @@ namespace Microsoft.AspNetCore.Mvc
|
|||
/// Initializes a new instance of <see cref="ForbidResult"/> with the
|
||||
/// specified authentication schemes.
|
||||
/// </summary>
|
||||
/// <param name="authenticationScheme">The authentication schemes to challenge.</param>
|
||||
/// <param name="authenticationSchemes">The authentication schemes to challenge.</param>
|
||||
public ForbidResult(IList<string> authenticationSchemes)
|
||||
: this(authenticationSchemes, properties: null)
|
||||
{
|
||||
|
|
@ -71,7 +71,7 @@ namespace Microsoft.AspNetCore.Mvc
|
|||
/// Initializes a new instance of <see cref="ForbidResult"/> with the
|
||||
/// specified authentication schemes and <paramref name="properties"/>.
|
||||
/// </summary>
|
||||
/// <param name="authenticationScheme">The authentication scheme to challenge.</param>
|
||||
/// <param name="authenticationSchemes">The authentication scheme to challenge.</param>
|
||||
/// <param name="properties"><see cref="AuthenticationProperties"/> used to perform the authentication
|
||||
/// challenge.</param>
|
||||
public ForbidResult(IList<string> authenticationSchemes, AuthenticationProperties properties)
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@ namespace Microsoft.AspNetCore.Mvc.Formatters
|
|||
|
||||
/// <summary>
|
||||
/// Determines the best <see cref="Encoding"/> amongst the supported encodings
|
||||
/// for reading or writing an HTTP entity body based on the provided <paramref name="contentTypeHeader"/>.
|
||||
/// for reading or writing an HTTP entity body based on the provided content type.
|
||||
/// </summary>
|
||||
/// <param name="context">The formatter context associated with the call.
|
||||
/// </param>
|
||||
|
|
|
|||
|
|
@ -26,7 +26,8 @@ namespace Microsoft.AspNetCore.Mvc.Internal
|
|||
/// Creates a new <see cref="ActionSelector"/>.
|
||||
/// </summary>
|
||||
/// <param name="decisionTreeProvider">The <see cref="IActionSelectorDecisionTreeProvider"/>.</param>
|
||||
/// <param name="actionConstraintProviders">The set of <see cref="IActionInvokerProvider"/> instances.</param>
|
||||
/// <param name="actionConstraintCache">The <see cref="ActionConstraintCache"/> that
|
||||
/// providers a set of <see cref="IActionConstraint"/> instances.</param>
|
||||
/// <param name="loggerFactory">The <see cref="ILoggerFactory"/>.</param>
|
||||
public ActionSelector(
|
||||
IActionSelectorDecisionTreeProvider decisionTreeProvider,
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@ namespace Microsoft.AspNetCore.Mvc.Internal
|
|||
/// Initializes a new instance of <see cref="DefaultObjectValidator"/>.
|
||||
/// </summary>
|
||||
/// <param name="modelMetadataProvider">The <see cref="IModelMetadataProvider"/>.</param>
|
||||
/// <param name="validatorCache">The <see cref="ValidatorCache"/>.</param>
|
||||
public DefaultObjectValidator(
|
||||
IModelMetadataProvider modelMetadataProvider,
|
||||
ValidatorCache validatorCache)
|
||||
|
|
|
|||
|
|
@ -15,8 +15,8 @@ namespace Microsoft.AspNetCore.Mvc.Internal
|
|||
/// Creates an instance of <typeparamref name="TInstance"/>.
|
||||
/// </summary>
|
||||
/// <param name="serviceProvider">The <see cref="IServiceProvider"/> used to resolve dependencies for
|
||||
/// <paramref name="implementationType"/>.</param>
|
||||
/// <param name="implementationType">The <see cref="Type"/> of the <typeparamref name="TInstance"/> to create.</param>
|
||||
/// <paramref name="optionType"/>.</param>
|
||||
/// <param name="optionType">The <see cref="Type"/> of the <typeparamref name="TInstance"/> to create.</param>
|
||||
TInstance CreateInstance<TInstance>(IServiceProvider serviceProvider, Type optionType);
|
||||
}
|
||||
}
|
||||
|
|
@ -26,10 +26,10 @@ namespace Microsoft.AspNetCore.Mvc.Internal
|
|||
/// Creates a new <see cref="MemoryPoolHttpRequestStreamReaderFactory"/>.
|
||||
/// </summary>
|
||||
/// <param name="bytePool">
|
||||
/// The <see cref="ArrayPool{byte}"/> for creating <see cref="byte"/> buffers.
|
||||
/// The <see cref="ArrayPool{Byte}"/> for creating <see cref="T:byte[]"/> buffers.
|
||||
/// </param>
|
||||
/// <param name="charPool">
|
||||
/// The <see cref="ArrayPool{char}"/> for creating <see cref="char"/> buffers.
|
||||
/// The <see cref="ArrayPool{Char}"/> for creating <see cref="T:char[]"/> buffers.
|
||||
/// </param>
|
||||
public MemoryPoolHttpRequestStreamReaderFactory(
|
||||
ArrayPool<byte> bytePool,
|
||||
|
|
|
|||
|
|
@ -26,10 +26,10 @@ namespace Microsoft.AspNetCore.Mvc.Internal
|
|||
/// Creates a new <see cref="MemoryPoolHttpResponseStreamWriterFactory"/>.
|
||||
/// </summary>
|
||||
/// <param name="bytePool">
|
||||
/// The <see cref="ArrayPool{byte}"/> for creating <see cref="byte"/> buffers.
|
||||
/// The <see cref="ArrayPool{Byte}"/> for creating <see cref="byte"/> buffers.
|
||||
/// </param>
|
||||
/// <param name="charPool">
|
||||
/// The <see cref="ArrayPool{char}"/> for creating <see cref="char"/> buffers.
|
||||
/// The <see cref="ArrayPool{Char}"/> for creating <see cref="char"/> buffers.
|
||||
/// </param>
|
||||
public MemoryPoolHttpResponseStreamWriterFactory(
|
||||
ArrayPool<byte> bytePool,
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ namespace Microsoft.AspNetCore.Mvc
|
|||
/// Initializes a new instance of the <see cref="LocalRedirectResult"/> class with the values
|
||||
/// provided.
|
||||
/// </summary>
|
||||
/// <param name="url">The local URL to redirect to.</param>
|
||||
/// <param name="localUrl">The local URL to redirect to.</param>
|
||||
/// <param name="permanent">Specifies whether the redirect should be permanent (301) or temporary (302).</param>
|
||||
public LocalRedirectResult(string localUrl, bool permanent)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -632,12 +632,13 @@ namespace Microsoft.AspNetCore.Mvc.ModelBinding
|
|||
/// <summary>
|
||||
/// Clears <see cref="ModelStateDictionary"/> entries for <see cref="ModelMetadata"/>.
|
||||
/// </summary>
|
||||
/// <param name="modelMetadata">The <see cref="ModelMetadata"/>.</param>
|
||||
/// <param name="modelType">The <see cref="Type"/> of the model.</param>
|
||||
/// <param name="modelState">The <see cref="ModelStateDictionary"/> associated with the model.</param>
|
||||
/// <param name="metadataProvider">The <see cref="IModelMetadataProvider"/>.</param>
|
||||
/// <param name="modelKey">The entry to clear. </param>
|
||||
/// <param name="modelMetadataProvider">The <see cref="IModelMetadataProvider"/>.</param>
|
||||
public static void ClearValidationStateForModel(
|
||||
Type modelType,
|
||||
ModelStateDictionary modelstate,
|
||||
ModelStateDictionary modelState,
|
||||
IModelMetadataProvider metadataProvider,
|
||||
string modelKey)
|
||||
{
|
||||
|
|
@ -646,9 +647,9 @@ namespace Microsoft.AspNetCore.Mvc.ModelBinding
|
|||
throw new ArgumentNullException(nameof(modelType));
|
||||
}
|
||||
|
||||
if (modelstate == null)
|
||||
if (modelState == null)
|
||||
{
|
||||
throw new ArgumentNullException(nameof(modelstate));
|
||||
throw new ArgumentNullException(nameof(modelState));
|
||||
}
|
||||
|
||||
if (metadataProvider == null)
|
||||
|
|
@ -656,18 +657,18 @@ namespace Microsoft.AspNetCore.Mvc.ModelBinding
|
|||
throw new ArgumentNullException(nameof(metadataProvider));
|
||||
}
|
||||
|
||||
ClearValidationStateForModel(metadataProvider.GetMetadataForType(modelType), modelstate, modelKey);
|
||||
ClearValidationStateForModel(metadataProvider.GetMetadataForType(modelType), modelState, modelKey);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Clears <see cref="ModelStateDictionary"/> entries for <see cref="ModelMetadata"/>.
|
||||
/// </summary>
|
||||
/// <param name="modelMetadata">The <see cref="ModelMetadata"/>.</param>
|
||||
/// <param name="modelState">The <see cref="ModelStateDictionary"/> associated with the model.</param>
|
||||
/// <param name="modelKey">The entry to clear. </param>
|
||||
/// <param name="modelMetadataProvider">The <see cref="IModelMetadataProvider"/>.</param>
|
||||
public static void ClearValidationStateForModel(
|
||||
ModelMetadata modelMetadata,
|
||||
ModelStateDictionary modelstate,
|
||||
ModelStateDictionary modelState,
|
||||
string modelKey)
|
||||
{
|
||||
if (modelMetadata == null)
|
||||
|
|
@ -675,9 +676,9 @@ namespace Microsoft.AspNetCore.Mvc.ModelBinding
|
|||
throw new ArgumentNullException(nameof(modelMetadata));
|
||||
}
|
||||
|
||||
if (modelstate == null)
|
||||
if (modelState == null)
|
||||
{
|
||||
throw new ArgumentNullException(nameof(modelstate));
|
||||
throw new ArgumentNullException(nameof(modelState));
|
||||
}
|
||||
|
||||
if (string.IsNullOrEmpty(modelKey))
|
||||
|
|
@ -692,7 +693,7 @@ namespace Microsoft.AspNetCore.Mvc.ModelBinding
|
|||
//
|
||||
// In the unlikely case that multiple top-level collections where bound to the empty prefix,
|
||||
// you're just out of luck.
|
||||
foreach (var kvp in modelstate)
|
||||
foreach (var kvp in modelState)
|
||||
{
|
||||
if (kvp.Key.Length > 0 && kvp.Key[0] == '[')
|
||||
{
|
||||
|
|
@ -706,14 +707,14 @@ namespace Microsoft.AspNetCore.Mvc.ModelBinding
|
|||
{
|
||||
foreach (var property in modelMetadata.Properties)
|
||||
{
|
||||
modelstate.ClearValidationState(property.BinderModelName ?? property.PropertyName);
|
||||
modelState.ClearValidationState(property.BinderModelName ?? property.PropertyName);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
// Simple types bind to a single entry. So clear the entry with the empty-key, in the
|
||||
// unlikely event that it has errors.
|
||||
var entry = modelstate[string.Empty];
|
||||
var entry = modelState[string.Empty];
|
||||
if (entry != null)
|
||||
{
|
||||
entry.Errors.Clear();
|
||||
|
|
@ -726,7 +727,7 @@ namespace Microsoft.AspNetCore.Mvc.ModelBinding
|
|||
// If model key is non-empty, we just want to clear all keys with that prefix. We expect
|
||||
// model binding to have only used this key (and suffixes) for all entries related to
|
||||
// this model.
|
||||
modelstate.ClearValidationState(modelKey);
|
||||
modelState.ClearValidationState(modelKey);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -849,10 +850,10 @@ namespace Microsoft.AspNetCore.Mvc.ModelBinding
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// Converts the provided <paramref name="value"/> to a value of <see cref="Type"/> <param name="type"/>
|
||||
/// Converts the provided <paramref name="value"/> to a value of <see cref="Type"/> <paramref name="type"/>
|
||||
/// using the <see cref="CultureInfo.InvariantCulture"/>.
|
||||
/// </summary>
|
||||
/// <param name="value">The value to convert."/></param>
|
||||
/// <param name="value">The value to convert.</param>
|
||||
/// <param name="type">The <see cref="Type"/> for conversion.</param>
|
||||
/// <returns>
|
||||
/// The converted value or <c>null</c> if the value could not be converted.
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ namespace Microsoft.AspNetCore.Mvc.ModelBinding.Validation
|
|||
/// <param name="validatorProvider">The <see cref="IModelValidatorProvider"/>.</param>
|
||||
/// <param name="validationState">The <see cref="ValidationStateDictionary"/>. May be null.</param>
|
||||
/// <param name="prefix">
|
||||
/// The model prefix. Used to map the model object to entries in <paramref name="modelState"/>.
|
||||
/// The model prefix. Used to map the model object to entries in <paramref name="validationState"/>.
|
||||
/// </param>
|
||||
/// <param name="model">The model object.</param>
|
||||
void Validate(
|
||||
|
|
|
|||
|
|
@ -34,6 +34,8 @@ namespace Microsoft.AspNetCore.Mvc.ModelBinding.Validation
|
|||
/// </summary>
|
||||
/// <param name="actionContext">The <see cref="ActionContext"/> associated with the current request.</param>
|
||||
/// <param name="validatorProvider">The <see cref="IModelValidatorProvider"/>.</param>
|
||||
/// <param name="validatorCache">The <see cref="ValidatorCache"/> that provides a list of <see cref="IModelValidator"/>s.</param>
|
||||
/// <param name="metadataProvider">The provider used for reading metadata for the model type.</param>
|
||||
/// <param name="validationState">The <see cref="ValidationStateDictionary"/>.</param>
|
||||
public ValidationVisitor(
|
||||
ActionContext actionContext,
|
||||
|
|
|
|||
|
|
@ -31,6 +31,7 @@ namespace Microsoft.AspNetCore.Mvc
|
|||
/// <summary>
|
||||
/// Generates a fully qualified or absolute URL for an action method by using the specified action name.
|
||||
/// </summary>
|
||||
/// <param name="helper">The <see cref="IUrlHelper"/>.</param>
|
||||
/// <param name="action">The name of the action method.</param>
|
||||
/// <returns>The fully qualified or absolute URL to an action method.</returns>
|
||||
public static string Action(this IUrlHelper helper, string action)
|
||||
|
|
@ -47,6 +48,7 @@ namespace Microsoft.AspNetCore.Mvc
|
|||
/// Generates a fully qualified or absolute URL for an action method by using the specified action name,
|
||||
/// and route values.
|
||||
/// </summary>
|
||||
/// <param name="helper">The <see cref="IUrlHelper"/>.</param>
|
||||
/// <param name="action">The name of the action method.</param>
|
||||
/// <param name="values">An object that contains route values.</param>
|
||||
/// <returns>The fully qualified or absolute URL to an action method.</returns>
|
||||
|
|
@ -64,6 +66,7 @@ namespace Microsoft.AspNetCore.Mvc
|
|||
/// Generates a fully qualified or absolute URL for an action method by using the specified action name,
|
||||
/// and controller name.
|
||||
/// </summary>
|
||||
/// <param name="helper">The <see cref="IUrlHelper"/>.</param>
|
||||
/// <param name="action">The name of the action method.</param>
|
||||
/// <param name="controller">The name of the controller.</param>
|
||||
/// <returns>The fully qualified or absolute URL to an action method.</returns>
|
||||
|
|
@ -81,6 +84,7 @@ namespace Microsoft.AspNetCore.Mvc
|
|||
/// Generates a fully qualified or absolute URL for an action method by using the specified action name,
|
||||
/// controller name, and route values.
|
||||
/// </summary>
|
||||
/// <param name="helper">The <see cref="IUrlHelper"/>.</param>
|
||||
/// <param name="action">The name of the action method.</param>
|
||||
/// <param name="controller">The name of the controller.</param>
|
||||
/// <param name="values">An object that contains route values.</param>
|
||||
|
|
@ -99,6 +103,7 @@ namespace Microsoft.AspNetCore.Mvc
|
|||
/// Generates a fully qualified or absolute URL for an action method by using the specified action name,
|
||||
/// controller name, route values, and protocol to use.
|
||||
/// </summary>
|
||||
/// <param name="helper">The <see cref="IUrlHelper"/>.</param>
|
||||
/// <param name="action">The name of the action method.</param>
|
||||
/// <param name="controller">The name of the controller.</param>
|
||||
/// <param name="values">An object that contains route values.</param>
|
||||
|
|
@ -123,6 +128,7 @@ namespace Microsoft.AspNetCore.Mvc
|
|||
/// Generates a fully qualified or absolute URL for an action method by using the specified action name,
|
||||
/// controller name, route values, protocol to use, and host name.
|
||||
/// </summary>
|
||||
/// <param name="helper">The <see cref="IUrlHelper"/>.</param>
|
||||
/// <param name="action">The name of the action method.</param>
|
||||
/// <param name="controller">The name of the controller.</param>
|
||||
/// <param name="values">An object that contains route values.</param>
|
||||
|
|
@ -149,6 +155,7 @@ namespace Microsoft.AspNetCore.Mvc
|
|||
/// Generates a fully qualified or absolute URL for an action method by using the specified action name,
|
||||
/// controller name, route values, protocol to use, host name and fragment.
|
||||
/// </summary>
|
||||
/// <param name="helper">The <see cref="IUrlHelper"/>.</param>
|
||||
/// <param name="action">The name of the action method.</param>
|
||||
/// <param name="controller">The name of the controller.</param>
|
||||
/// <param name="values">An object that contains route values.</param>
|
||||
|
|
@ -184,6 +191,7 @@ namespace Microsoft.AspNetCore.Mvc
|
|||
/// <summary>
|
||||
/// Generates a fully qualified or absolute URL for the specified route values.
|
||||
/// </summary>
|
||||
/// <param name="helper">The <see cref="IUrlHelper"/>.</param>
|
||||
/// <param name="values">An object that contains route values.</param>
|
||||
/// <returns>The fully qualified or absolute URL.</returns>
|
||||
public static string RouteUrl(this IUrlHelper helper, object values)
|
||||
|
|
@ -199,6 +207,7 @@ namespace Microsoft.AspNetCore.Mvc
|
|||
/// <summary>
|
||||
/// Generates a fully qualified or absolute URL for the specified route name.
|
||||
/// </summary>
|
||||
/// <param name="helper">The <see cref="IUrlHelper"/>.</param>
|
||||
/// <param name="routeName">The name of the route that is used to generate URL.</param>
|
||||
/// <returns>The fully qualified or absolute URL.</returns>
|
||||
public static string RouteUrl(this IUrlHelper helper, string routeName)
|
||||
|
|
@ -215,6 +224,7 @@ namespace Microsoft.AspNetCore.Mvc
|
|||
/// Generates a fully qualified or absolute URL for the specified route values by
|
||||
/// using the specified route name.
|
||||
/// </summary>
|
||||
/// <param name="helper">The <see cref="IUrlHelper"/>.</param>
|
||||
/// <param name="routeName">The name of the route that is used to generate URL.</param>
|
||||
/// <param name="values">An object that contains route values.</param>
|
||||
/// <returns>The fully qualified or absolute URL.</returns>
|
||||
|
|
@ -232,6 +242,7 @@ namespace Microsoft.AspNetCore.Mvc
|
|||
/// Generates a fully qualified or absolute URL for the specified route values by
|
||||
/// using the specified route name, and protocol to use.
|
||||
/// </summary>
|
||||
/// <param name="helper">The <see cref="IUrlHelper"/>.</param>
|
||||
/// <param name="routeName">The name of the route that is used to generate URL.</param>
|
||||
/// <param name="values">An object that contains route values.</param>
|
||||
/// <param name="protocol">The protocol for the URL, such as "http" or "https".</param>
|
||||
|
|
@ -254,6 +265,7 @@ namespace Microsoft.AspNetCore.Mvc
|
|||
/// Generates a fully qualified or absolute URL for the specified route values by
|
||||
/// using the specified route name, protocol to use, and host name.
|
||||
/// </summary>
|
||||
/// <param name="helper">The <see cref="IUrlHelper"/>.</param>
|
||||
/// <param name="routeName">The name of the route that is used to generate URL.</param>
|
||||
/// <param name="values">An object that contains route values.</param>
|
||||
/// <param name="protocol">The protocol for the URL, such as "http" or "https".</param>
|
||||
|
|
@ -278,6 +290,7 @@ namespace Microsoft.AspNetCore.Mvc
|
|||
/// Generates a fully qualified or absolute URL for the specified route values by
|
||||
/// using the specified route name, protocol to use, host name and fragment.
|
||||
/// </summary>
|
||||
/// <param name="helper">The <see cref="IUrlHelper"/>.</param>
|
||||
/// <param name="routeName">The name of the route that is used to generate URL.</param>
|
||||
/// <param name="values">An object that contains route values.</param>
|
||||
/// <param name="protocol">The protocol for the URL, such as "http" or "https".</param>
|
||||
|
|
|
|||
|
|
@ -7,7 +7,9 @@
|
|||
},
|
||||
"compilationOptions": {
|
||||
"warningsAsErrors": true,
|
||||
"keyFile": "../../tools/Key.snk"
|
||||
"keyFile": "../../tools/Key.snk",
|
||||
"nowarn": [ "CS1591" ],
|
||||
"xmlDoc": true
|
||||
},
|
||||
"dependencies": {
|
||||
"Microsoft.AspNetCore.Authorization": "1.0.0-*",
|
||||
|
|
|
|||
|
|
@ -7,7 +7,9 @@
|
|||
},
|
||||
"compilationOptions": {
|
||||
"warningsAsErrors": true,
|
||||
"keyFile": "../../tools/Key.snk"
|
||||
"keyFile": "../../tools/Key.snk",
|
||||
"nowarn": [ "CS1591" ],
|
||||
"xmlDoc": true
|
||||
},
|
||||
"dependencies": {
|
||||
"Microsoft.AspNetCore.Cors": "1.0.0-*",
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ namespace Microsoft.AspNetCore.Mvc.DataAnnotations.Internal
|
|||
/// for attributes which derive from <see cref="ValidationAttribute"/>. It also provides
|
||||
/// a validator for types which implement <see cref="IClientModelValidator"/>.
|
||||
/// The logic to support <see cref="IClientModelValidator"/>
|
||||
/// is implemented in <see cref="ValidationAttributeAdapter{}"/>.
|
||||
/// is implemented in <see cref="ValidationAttributeAdapter{TAttribute}"/>.
|
||||
/// </summary>
|
||||
public class DataAnnotationsClientModelValidatorProvider : IClientModelValidatorProvider
|
||||
{
|
||||
|
|
@ -26,6 +26,8 @@ namespace Microsoft.AspNetCore.Mvc.DataAnnotations.Internal
|
|||
/// <summary>
|
||||
/// Create a new instance of <see cref="DataAnnotationsClientModelValidatorProvider"/>.
|
||||
/// </summary>
|
||||
/// <param name="validationAttributeAdapterProvider">The <see cref="IValidationAttributeAdapterProvider"/>
|
||||
/// that supplies <see cref="IAttributeAdapter"/>s.</param>
|
||||
/// <param name="options">The <see cref="IOptions{MvcDataAnnotationsLocalizationOptions}"/>.</param>
|
||||
/// <param name="stringLocalizerFactory">The <see cref="IStringLocalizerFactory"/>.</param>
|
||||
public DataAnnotationsClientModelValidatorProvider(
|
||||
|
|
|
|||
|
|
@ -26,6 +26,8 @@ namespace Microsoft.AspNetCore.Mvc.DataAnnotations.Internal
|
|||
/// <summary>
|
||||
/// Create a new instance of <see cref="DataAnnotationsModelValidatorProvider"/>.
|
||||
/// </summary>
|
||||
/// <param name="validationAttributeAdapterProvider">The <see cref="IValidationAttributeAdapterProvider"/>
|
||||
/// that supplies <see cref="IAttributeAdapter"/>s.</param>
|
||||
/// <param name="options">The <see cref="IOptions{MvcDataAnnotationsLocalizationOptions}"/>.</param>
|
||||
/// <param name="stringLocalizerFactory">The <see cref="IStringLocalizerFactory"/>.</param>
|
||||
/// <remarks><paramref name="options"/> and <paramref name="stringLocalizerFactory"/>
|
||||
|
|
|
|||
|
|
@ -7,7 +7,9 @@
|
|||
},
|
||||
"compilationOptions": {
|
||||
"warningsAsErrors": true,
|
||||
"keyFile": "../../tools/Key.snk"
|
||||
"keyFile": "../../tools/Key.snk",
|
||||
"nowarn": [ "CS1591" ],
|
||||
"xmlDoc": true
|
||||
},
|
||||
"dependencies": {
|
||||
"Microsoft.AspNetCore.Mvc.Core": "1.0.0-*",
|
||||
|
|
|
|||
|
|
@ -31,6 +31,7 @@ namespace Microsoft.AspNetCore.Mvc.Formatters.Json.Internal
|
|||
/// <param name="writerFactory">The <see cref="IHttpResponseStreamWriterFactory"/>.</param>
|
||||
/// <param name="logger">The <see cref="ILogger{JsonResultExecutor}"/>.</param>
|
||||
/// <param name="options">The <see cref="IOptions{MvcJsonOptions}"/>.</param>
|
||||
/// <param name="charPool">The <see cref="ArrayPool{Char}"/> for creating <see cref="T:char[]"/> buffers.</param>
|
||||
public JsonResultExecutor(
|
||||
IHttpResponseStreamWriterFactory writerFactory,
|
||||
ILogger<JsonResultExecutor> logger,
|
||||
|
|
|
|||
|
|
@ -52,7 +52,7 @@ namespace Microsoft.AspNetCore.Mvc.Formatters
|
|||
/// </summary>
|
||||
/// <param name="logger">The <see cref="ILogger"/>.</param>
|
||||
/// <param name="serializerSettings">The <see cref="JsonSerializerSettings"/>.</param>
|
||||
/// <param name="charPool">The <see cref="ArrayPool{char}"/>.</param>
|
||||
/// <param name="charPool">The <see cref="ArrayPool{Char}"/>.</param>
|
||||
/// <param name="objectPoolProvider">The <see cref="ObjectPoolProvider"/>.</param>
|
||||
public JsonInputFormatter(
|
||||
ILogger logger,
|
||||
|
|
|
|||
|
|
@ -7,7 +7,9 @@
|
|||
},
|
||||
"compilationOptions": {
|
||||
"warningsAsErrors": true,
|
||||
"keyFile": "../../tools/Key.snk"
|
||||
"keyFile": "../../tools/Key.snk",
|
||||
"nowarn": [ "CS1591" ],
|
||||
"xmlDoc": true
|
||||
},
|
||||
"dependencies": {
|
||||
"Microsoft.AspNetCore.JsonPatch": "1.0.0-*",
|
||||
|
|
|
|||
|
|
@ -7,7 +7,9 @@
|
|||
},
|
||||
"compilationOptions": {
|
||||
"warningsAsErrors": true,
|
||||
"keyFile": "../../tools/Key.snk"
|
||||
"keyFile": "../../tools/Key.snk",
|
||||
"nowarn": [ "CS1591" ],
|
||||
"xmlDoc": true
|
||||
},
|
||||
"dependencies": {
|
||||
"Microsoft.AspNetCore.Mvc.Core": "1.0.0-*",
|
||||
|
|
|
|||
|
|
@ -15,7 +15,8 @@ namespace Microsoft.AspNetCore.Mvc.Localization
|
|||
/// <summary>
|
||||
/// Gets the <see cref="LocalizedHtmlString"/> resource for a specific name.
|
||||
/// </summary>
|
||||
/// <param name="key">The key to use.</param>
|
||||
/// <param name="htmlLocalizer">The <see cref="IHtmlLocalizer"/>.</param>
|
||||
/// <param name="name">The key to use.</param>
|
||||
/// <returns>The <see cref="LocalizedHtmlString"/> resource.</returns>
|
||||
public static LocalizedHtmlString GetHtml(this IHtmlLocalizer htmlLocalizer, string name)
|
||||
{
|
||||
|
|
@ -35,7 +36,8 @@ namespace Microsoft.AspNetCore.Mvc.Localization
|
|||
/// <summary>
|
||||
/// Gets the <see cref="LocalizedHtmlString"/> resource for a specific name.
|
||||
/// </summary>
|
||||
/// <param name="key">The key to use.</param>
|
||||
/// <param name="htmlLocalizer">The <see cref="IHtmlLocalizer"/>.</param>
|
||||
/// <param name="name">The key to use.</param>
|
||||
/// <param name="arguments">The values to format the string with.</param>
|
||||
/// <returns>The <see cref="LocalizedHtmlString"/> resource.</returns>
|
||||
public static LocalizedHtmlString GetHtml(this IHtmlLocalizer htmlLocalizer, string name, params object[] arguments)
|
||||
|
|
|
|||
|
|
@ -32,7 +32,6 @@ namespace Microsoft.AspNetCore.Mvc.Localization
|
|||
/// <summary>
|
||||
/// Gets the string resource with the given name.
|
||||
/// </summary>
|
||||
/// <param name="stringLocalizer">The <see cref="IStringLocalizer"/>.</param>
|
||||
/// <param name="name">The name of the string resource.</param>
|
||||
/// <returns>The string resource as a <see cref="LocalizedString"/>.</returns>
|
||||
LocalizedString GetString(string name);
|
||||
|
|
@ -40,7 +39,6 @@ namespace Microsoft.AspNetCore.Mvc.Localization
|
|||
/// <summary>
|
||||
/// Gets the string resource with the given name and formatted with the supplied arguments.
|
||||
/// </summary>
|
||||
/// <param name="stringLocalizer">The <see cref="IStringLocalizer"/>.</param>
|
||||
/// <param name="name">The name of the string resource.</param>
|
||||
/// <param name="arguments">The values to format the string with.</param>
|
||||
/// <returns>The formatted string resource as a <see cref="LocalizedString"/>.</returns>
|
||||
|
|
|
|||
|
|
@ -3,7 +3,9 @@
|
|||
"version": "1.0.0-*",
|
||||
"compilationOptions": {
|
||||
"warningsAsErrors": true,
|
||||
"keyFile": "../../tools/Key.snk"
|
||||
"keyFile": "../../tools/Key.snk",
|
||||
"nowarn": [ "CS1591" ],
|
||||
"xmlDoc": true
|
||||
},
|
||||
"dependencies": {
|
||||
"Microsoft.AspNetCore.Localization": "1.0.0-*",
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ namespace Microsoft.AspNetCore.Mvc.Razor.Directives
|
|||
/// <summary>
|
||||
/// Merges an inherited <see cref="Chunk"/> into the <see cref="ChunkTree"/>.
|
||||
/// </summary>
|
||||
/// <param name="ChunkTree">The <see cref="ChunkTree"/> to merge into.</param>
|
||||
/// <param name="chunkTree">The <see cref="ChunkTree"/> to merge into.</param>
|
||||
/// <param name="inheritedChunks">The <see cref="IReadOnlyList{Chunk}"/>s to merge.</param>
|
||||
void MergeInheritedChunks(ChunkTree chunkTree, IReadOnlyList<Chunk> inheritedChunks);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -31,6 +31,7 @@ namespace Microsoft.AspNetCore.Mvc.Razor
|
|||
/// from parsed pages from _ViewImports files.</param>
|
||||
/// <param name="defaultInheritedChunks">The <see cref="IReadOnlyList{Chunk}"/> inherited by
|
||||
/// default by all Razor pages in the application.</param>
|
||||
/// <param name="modelExpressionTypeName">The full name of the model expression <see cref="Type"/>.</param>
|
||||
public MvcRazorParser(
|
||||
RazorParser parser,
|
||||
IReadOnlyList<ChunkTree> inheritedChunkTrees,
|
||||
|
|
|
|||
|
|
@ -7,7 +7,9 @@
|
|||
},
|
||||
"compilationOptions": {
|
||||
"warningsAsErrors": true,
|
||||
"keyFile": "../../tools/Key.snk"
|
||||
"keyFile": "../../tools/Key.snk",
|
||||
"nowarn": [ "CS1591" ],
|
||||
"xmlDoc": true
|
||||
},
|
||||
"dependencies": {
|
||||
"Microsoft.AspNetCore.Razor.Runtime": "1.0.0-*",
|
||||
|
|
|
|||
|
|
@ -32,6 +32,7 @@ namespace Microsoft.AspNetCore.Mvc.Razor.Internal
|
|||
/// <param name="compilationService">The <see cref="ICompilationService"/> to compile generated code.</param>
|
||||
/// <param name="razorHost">The <see cref="IMvcRazorHost"/> to generate code from Razor files.</param>
|
||||
/// <param name="fileProviderAccessor">The <see cref="IRazorViewEngineFileProviderAccessor"/>.</param>
|
||||
/// <param name="loggerFactory">The <see cref="ILoggerFactory"/>.</param>
|
||||
public RazorCompilationService(
|
||||
ICompilationService compilationService,
|
||||
IMvcRazorHost razorHost,
|
||||
|
|
|
|||
|
|
@ -761,6 +761,8 @@ namespace Microsoft.AspNetCore.Mvc.Razor
|
|||
/// In layout pages, asynchronously renders the content of the section named <paramref name="name"/>.
|
||||
/// </summary>
|
||||
/// <param name="name">The section to render.</param>
|
||||
/// <param name="required">Indicates the <paramref name="name"/> section must be registered
|
||||
/// (using <c>@section</c>) in the page.</param>
|
||||
/// <returns>A <see cref="Task{HtmlString}"/> that on completion returns <see cref="HtmlString.Empty"/> that
|
||||
/// allows the <see cref="Write(object)"/> call to succeed.</returns>
|
||||
/// <remarks>The method writes to the <see cref="Output"/> and the value returned is a token
|
||||
|
|
@ -814,7 +816,7 @@ namespace Microsoft.AspNetCore.Mvc.Razor
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// Invokes <see cref="TextWriter.FlushAsync"/> on <see cref="Output"/> and <see cref="Stream.FlushAsync"/>
|
||||
/// Invokes <see cref="TextWriter.FlushAsync"/> on <see cref="Output"/> and <see cref="M:Stream.FlushAsync"/>
|
||||
/// on the response stream, writing out any buffered content to the <see cref="HttpResponse.Body"/>.
|
||||
/// </summary>
|
||||
/// <returns>A <see cref="Task{HtmlString}"/> that represents the asynchronous flush operation and on
|
||||
|
|
|
|||
|
|
@ -87,7 +87,7 @@ namespace Microsoft.AspNetCore.Mvc.Razor.TagHelpers
|
|||
/// <summary>
|
||||
/// Creates a new <see cref="UrlResolutionTagHelper"/>.
|
||||
/// </summary>
|
||||
/// <param name="urlHelper">The <see cref="IUrlHelperFactory"/>.</param>
|
||||
/// <param name="urlHelperFactory">The <see cref="IUrlHelperFactory"/>.</param>
|
||||
/// <param name="htmlEncoder">The <see cref="HtmlEncoder"/>.</param>
|
||||
public UrlResolutionTagHelper(IUrlHelperFactory urlHelperFactory, HtmlEncoder htmlEncoder)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -7,7 +7,9 @@
|
|||
},
|
||||
"compilationOptions": {
|
||||
"warningsAsErrors": true,
|
||||
"keyFile": "../../tools/Key.snk"
|
||||
"keyFile": "../../tools/Key.snk",
|
||||
"nowarn": [ "CS1591" ],
|
||||
"xmlDoc": true
|
||||
},
|
||||
"dependencies": {
|
||||
"Microsoft.AspNetCore.Mvc.Razor.Host": "1.0.0-*",
|
||||
|
|
|
|||
|
|
@ -44,6 +44,7 @@ namespace Microsoft.AspNetCore.Mvc.TagHelpers
|
|||
/// Creates a new <see cref="CacheTagHelper"/>.
|
||||
/// </summary>
|
||||
/// <param name="memoryCache">The <see cref="IMemoryCache"/>.</param>
|
||||
/// <param name="htmlEncoder">The <see cref="HtmlEncoder"/> to use.</param>
|
||||
public CacheTagHelper(IMemoryCache memoryCache, HtmlEncoder htmlEncoder)
|
||||
{
|
||||
MemoryCache = memoryCache;
|
||||
|
|
|
|||
|
|
@ -38,6 +38,7 @@ namespace Microsoft.AspNetCore.Mvc.TagHelpers
|
|||
/// </summary>
|
||||
/// <param name="hostingEnvironment">The <see cref="IHostingEnvironment"/>.</param>
|
||||
/// <param name="cache">The <see cref="IMemoryCache"/>.</param>
|
||||
/// <param name="htmlEncoder">The <see cref="HtmlEncoder"/> to use.</param>
|
||||
/// <param name="urlHelperFactory">The <see cref="IUrlHelperFactory"/>.</param>
|
||||
public ImageTagHelper(
|
||||
IHostingEnvironment hostingEnvironment,
|
||||
|
|
|
|||
|
|
@ -7,7 +7,9 @@
|
|||
},
|
||||
"compilationOptions": {
|
||||
"warningsAsErrors": true,
|
||||
"keyFile": "../../tools/Key.snk"
|
||||
"keyFile": "../../tools/Key.snk",
|
||||
"nowarn": [ "CS1591" ],
|
||||
"xmlDoc": true
|
||||
},
|
||||
"dependencies": {
|
||||
"Microsoft.AspNetCore.Mvc.Razor": "1.0.0-*",
|
||||
|
|
|
|||
|
|
@ -244,7 +244,7 @@ namespace Microsoft.AspNetCore.Mvc
|
|||
/// <see cref="ViewComponents.ViewComponentDescriptor.FullName"/>.</param>
|
||||
/// <param name="arguments">
|
||||
/// An <see cref="object"/> with properties representing arguments to be passed to the invoked view component
|
||||
/// method. Alternatively, an <see cref="System.Collections.Generic.IDictionary{string, object}"/> instance
|
||||
/// method. Alternatively, an <see cref="System.Collections.Generic.IDictionary{String, Object}"/> instance
|
||||
/// containing the invocation arguments.
|
||||
/// </param>
|
||||
/// <returns>The created <see cref="ViewComponentResult"/> object for the response.</returns>
|
||||
|
|
@ -267,7 +267,7 @@ namespace Microsoft.AspNetCore.Mvc
|
|||
/// <param name="componentType">The view component <see cref="Type"/>.</param>
|
||||
/// <param name="arguments">
|
||||
/// An <see cref="object"/> with properties representing arguments to be passed to the invoked view component
|
||||
/// method. Alternatively, an <see cref="System.Collections.Generic.IDictionary{string, object}"/> instance
|
||||
/// method. Alternatively, an <see cref="System.Collections.Generic.IDictionary{String, Object}"/> instance
|
||||
/// containing the invocation arguments.
|
||||
/// </param>
|
||||
/// <returns>The created <see cref="ViewComponentResult"/> object for the response.</returns>
|
||||
|
|
@ -383,7 +383,7 @@ namespace Microsoft.AspNetCore.Mvc
|
|||
/// <summary>
|
||||
/// Releases all resources currently used by this <see cref="Controller"/> instance.
|
||||
/// </summary>
|
||||
/// <param name="disposing"><c>true</c> if this method is being invoked by the <see cref="Dispose"/> method,
|
||||
/// <param name="disposing"><c>true</c> if this method is being invoked by the <see cref="Dispose()"/> method,
|
||||
/// otherwise <c>false</c>.</param>
|
||||
protected virtual void Dispose(bool disposing)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ namespace Microsoft.AspNetCore.Mvc
|
|||
/// <param name="name">The name of the view component.</param>
|
||||
/// <param name="arguments">
|
||||
/// An <see cref="object"/> with properties representing arguments to be passed to the invoked view component
|
||||
/// method. Alternatively, an <see cref="System.Collections.Generic.IDictionary{string, object}"/> instance
|
||||
/// method. Alternatively, an <see cref="System.Collections.Generic.IDictionary{String, Object}"/> instance
|
||||
/// containing the invocation arguments.
|
||||
/// </param>
|
||||
/// <returns>A <see cref="Task"/> that on completion returns the rendered <see cref="IHtmlContent" />.
|
||||
|
|
@ -31,7 +31,7 @@ namespace Microsoft.AspNetCore.Mvc
|
|||
/// <param name="componentType">The view component <see cref="Type"/>.</param>
|
||||
/// <param name="arguments">
|
||||
/// An <see cref="object"/> with properties representing arguments to be passed to the invoked view component
|
||||
/// method. Alternatively, an <see cref="System.Collections.Generic.IDictionary{string, object}"/> instance
|
||||
/// method. Alternatively, an <see cref="System.Collections.Generic.IDictionary{String, Object}"/> instance
|
||||
/// containing the invocation arguments.
|
||||
/// </param>
|
||||
/// <returns>A <see cref="Task"/> that on completion returns the rendered <see cref="IHtmlContent" />.
|
||||
|
|
|
|||
|
|
@ -6,20 +6,20 @@ using System.IO;
|
|||
namespace Microsoft.AspNetCore.Mvc.ViewFeatures.Internal
|
||||
{
|
||||
/// <summary>
|
||||
/// Creates and manages the lifetime of <see cref="ViewBufferValue[]"/> instances.
|
||||
/// Creates and manages the lifetime of <see cref="T:ViewBufferValue[]"/> instances.
|
||||
/// </summary>
|
||||
public interface IViewBufferScope
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets a <see cref="ViewBufferValue[]"/>.
|
||||
/// Gets a <see cref="T:ViewBufferValue[]"/>.
|
||||
/// </summary>
|
||||
/// <returns>The <see cref="ViewBufferValue[]"/>.</returns>
|
||||
/// <returns>The <see cref="T:ViewBufferValue[]"/>.</returns>
|
||||
ViewBufferValue[] GetSegment();
|
||||
|
||||
/// <summary>
|
||||
/// Returns a <see cref="ViewBufferValue[]"/> that can be reused.
|
||||
/// Returns a <see cref="T:ViewBufferValue[]"/> that can be reused.
|
||||
/// </summary>
|
||||
/// <param name="segment">The <see cref="ViewBufferValue[]"/>.</param>
|
||||
/// <param name="segment">The <see cref="T:ViewBufferValue[]"/>.</param>
|
||||
void ReturnSegment(ViewBufferValue[] segment);
|
||||
|
||||
/// <summary>
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ namespace Microsoft.AspNetCore.Mvc.ViewFeatures.Internal
|
|||
/// The <see cref="ArrayPool{ViewBufferValue}"/> for creating <see cref="ViewBufferValue"/> instances.
|
||||
/// </param>
|
||||
/// <param name="charPool">
|
||||
/// The <see cref="ArrayPool{char}"/> for creating <see cref="ViewBufferTextWriter"/> instances.
|
||||
/// The <see cref="ArrayPool{Char}"/> for creating <see cref="ViewBufferTextWriter"/> instances.
|
||||
/// </param>
|
||||
public MemoryPoolViewBufferScope(ArrayPool<ViewBufferValue> viewBufferPool, ArrayPool<char> charPool)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ namespace Microsoft.AspNetCore.Mvc.ViewFeatures.Internal
|
|||
/// <summary>
|
||||
/// Initializes a new instance of <see cref="ViewBufferValue"/> with a <see cref="IHtmlContent"/> value.
|
||||
/// </summary>
|
||||
/// <param name="value">The <see cref="IHtmlContent"/>.</param>
|
||||
/// <param name="content">The <see cref="IHtmlContent"/>.</param>
|
||||
public ViewBufferValue(IHtmlContent content)
|
||||
{
|
||||
Value = content;
|
||||
|
|
|
|||
|
|
@ -52,6 +52,7 @@ namespace Microsoft.AspNetCore.Mvc.ModelBinding
|
|||
/// <param name="modelState">The <see cref="ModelStateDictionary"/> instance this method extends.</param>
|
||||
/// <param name="expression">An expression to be evaluated against an item in the current model.</param>
|
||||
/// <param name="exception">The <see cref="Exception"/> to add.</param>
|
||||
/// <param name="metadata">The <see cref="ModelMetadata"/> associated with the model.</param>
|
||||
public static void AddModelError<TModel>(
|
||||
this ModelStateDictionary modelState,
|
||||
Expression<Func<TModel, object>> expression,
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
|
|||
/// <see cref="object"/> that contains the properties to display.
|
||||
/// </param>
|
||||
/// <param name="additionalViewData">
|
||||
/// An anonymous <see cref="object"/> or <see cref="System.Collections.Generic.IDictionary{string, object}"/>
|
||||
/// An anonymous <see cref="object"/> or <see cref="System.Collections.Generic.IDictionary{String, Object}"/>
|
||||
/// that can contain additional view data that will be merged into the
|
||||
/// <see cref="ViewFeatures.ViewDataDictionary{TModel}"/> instance created for the template.
|
||||
/// </param>
|
||||
|
|
@ -144,7 +144,7 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
|
|||
/// </param>
|
||||
/// <param name="templateName">The name of the template used to create the HTML markup.</param>
|
||||
/// <param name="additionalViewData">
|
||||
/// An anonymous <see cref="object"/> or <see cref="System.Collections.Generic.IDictionary{string, object}"/>
|
||||
/// An anonymous <see cref="object"/> or <see cref="System.Collections.Generic.IDictionary{String, Object}"/>
|
||||
/// that can contain additional view data that will be merged into the
|
||||
/// <see cref="ViewFeatures.ViewDataDictionary{TModel}"/> instance created for the template.
|
||||
/// </param>
|
||||
|
|
@ -273,7 +273,7 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
|
|||
/// <param name="htmlHelper">The <see cref="IHtmlHelper{TModel}"/> instance this method extends.</param>
|
||||
/// <param name="expression">An expression to be evaluated against the current model.</param>
|
||||
/// <param name="additionalViewData">
|
||||
/// An anonymous <see cref="object"/> or <see cref="System.Collections.Generic.IDictionary{string, object}"/>
|
||||
/// An anonymous <see cref="object"/> or <see cref="System.Collections.Generic.IDictionary{String, Object}"/>
|
||||
/// that can contain additional view data that will be merged into the
|
||||
/// <see cref="ViewFeatures.ViewDataDictionary{TModel}"/> instance created for the template.
|
||||
/// </param>
|
||||
|
|
@ -364,7 +364,7 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
|
|||
/// <param name="expression">An expression to be evaluated against the current model.</param>
|
||||
/// <param name="templateName">The name of the template used to create the HTML markup.</param>
|
||||
/// <param name="additionalViewData">
|
||||
/// An anonymous <see cref="object"/> or <see cref="System.Collections.Generic.IDictionary{string, object}"/>
|
||||
/// An anonymous <see cref="object"/> or <see cref="System.Collections.Generic.IDictionary{String, Object}"/>
|
||||
/// that can contain additional view data that will be merged into the
|
||||
/// <see cref="ViewFeatures.ViewDataDictionary{TModel}"/> instance created for the template.
|
||||
/// </param>
|
||||
|
|
@ -488,7 +488,7 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
|
|||
/// </summary>
|
||||
/// <param name="htmlHelper">The <see cref="IHtmlHelper"/> instance this method extends.</param>
|
||||
/// <param name="additionalViewData">
|
||||
/// An anonymous <see cref="object"/> or <see cref="System.Collections.Generic.IDictionary{string, object}"/>
|
||||
/// An anonymous <see cref="object"/> or <see cref="System.Collections.Generic.IDictionary{String, Object}"/>
|
||||
/// that can contain additional view data that will be merged into the
|
||||
/// <see cref="ViewFeatures.ViewDataDictionary{TModel}"/> instance created for the template.
|
||||
/// </param>
|
||||
|
|
@ -556,7 +556,7 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
|
|||
/// <param name="htmlHelper">The <see cref="IHtmlHelper"/> instance this method extends.</param>
|
||||
/// <param name="templateName">The name of the template used to create the HTML markup.</param>
|
||||
/// <param name="additionalViewData">
|
||||
/// An anonymous <see cref="object"/> or <see cref="System.Collections.Generic.IDictionary{string, object}"/>
|
||||
/// An anonymous <see cref="object"/> or <see cref="System.Collections.Generic.IDictionary{String, Object}"/>
|
||||
/// that can contain additional view data that will be merged into the
|
||||
/// <see cref="ViewFeatures.ViewDataDictionary{TModel}"/> instance created for the template.
|
||||
/// </param>
|
||||
|
|
@ -639,7 +639,7 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
|
|||
/// properties that have the same name.
|
||||
/// </param>
|
||||
/// <param name="additionalViewData">
|
||||
/// An anonymous <see cref="object"/> or <see cref="System.Collections.Generic.IDictionary{string, object}"/>
|
||||
/// An anonymous <see cref="object"/> or <see cref="System.Collections.Generic.IDictionary{String, Object}"/>
|
||||
/// that can contain additional view data that will be merged into the
|
||||
/// <see cref="ViewFeatures.ViewDataDictionary{TModel}"/> instance created for the template.
|
||||
/// </param>
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
|
|||
/// if the current model represents a collection.
|
||||
/// </summary>
|
||||
/// <param name="htmlHelper">
|
||||
/// The <see cref="IHtmlHelper{IEnumerable{TModelItem}}"/> instance this method extends.
|
||||
/// The <see cref="IHtmlHelper{T}"/> of <see cref="IEnumerable{TModelItem}"/> instance this method extends.
|
||||
/// </param>
|
||||
/// <param name="expression">An expression to be evaluated against an item in the current model.</param>
|
||||
/// <typeparam name="TModelItem">The type of items in the model collection.</typeparam>
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
|
|||
/// <see cref="object"/> that contains the properties to edit.
|
||||
/// </param>
|
||||
/// <param name="additionalViewData">
|
||||
/// An anonymous <see cref="object"/> or <see cref="System.Collections.Generic.IDictionary{string, object}"/>
|
||||
/// An anonymous <see cref="object"/> or <see cref="System.Collections.Generic.IDictionary{String, Object}"/>
|
||||
/// that can contain additional view data that will be merged into the
|
||||
/// <see cref="ViewFeatures.ViewDataDictionary{TModel}"/> instance created for the template.
|
||||
/// </param>
|
||||
|
|
@ -141,7 +141,7 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
|
|||
/// </param>
|
||||
/// <param name="templateName">The name of the template used to create the HTML markup.</param>
|
||||
/// <param name="additionalViewData">
|
||||
/// An anonymous <see cref="object"/> or <see cref="System.Collections.Generic.IDictionary{string, object}"/>
|
||||
/// An anonymous <see cref="object"/> or <see cref="System.Collections.Generic.IDictionary{String, Object}"/>
|
||||
/// that can contain additional view data that will be merged into the
|
||||
/// <see cref="ViewFeatures.ViewDataDictionary{TModel}"/> instance created for the template.
|
||||
/// </param>
|
||||
|
|
@ -266,7 +266,7 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
|
|||
/// <param name="htmlHelper">The <see cref="IHtmlHelper{TModel}"/> instance this method extends.</param>
|
||||
/// <param name="expression">An expression to be evaluated against the current model.</param>
|
||||
/// <param name="additionalViewData">
|
||||
/// An anonymous <see cref="object"/> or <see cref="System.Collections.Generic.IDictionary{string, object}"/>
|
||||
/// An anonymous <see cref="object"/> or <see cref="System.Collections.Generic.IDictionary{String, Object}"/>
|
||||
/// that can contain additional view data that will be merged into the
|
||||
/// <see cref="ViewFeatures.ViewDataDictionary{TModel}"/> instance created for the template.
|
||||
/// </param>
|
||||
|
|
@ -353,7 +353,7 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
|
|||
/// <param name="expression">An expression to be evaluated against the current model.</param>
|
||||
/// <param name="templateName">The name of the template that is used to create the HTML markup.</param>
|
||||
/// <param name="additionalViewData">
|
||||
/// An anonymous <see cref="object"/> or <see cref="System.Collections.Generic.IDictionary{string, object}"/>
|
||||
/// An anonymous <see cref="object"/> or <see cref="System.Collections.Generic.IDictionary{String, Object}"/>
|
||||
/// that can contain additional view data that will be merged into the
|
||||
/// <see cref="ViewFeatures.ViewDataDictionary{TModel}"/> instance created for the template.
|
||||
/// </param>
|
||||
|
|
@ -446,7 +446,7 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
|
|||
/// <remarks>
|
||||
/// <para>
|
||||
/// For example the default <see cref="object"/> editor template includes <label> and <input>
|
||||
/// elements for each property in the <paramref name="expression"/> result.
|
||||
/// elements for each property in the current model.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// Custom templates are found under a <c>EditorTemplates</c> folder. The folder name is case-sensitive on
|
||||
|
|
@ -473,7 +473,7 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
|
|||
/// </summary>
|
||||
/// <param name="htmlHelper">The <see cref="IHtmlHelper"/> instance this method extends.</param>
|
||||
/// <param name="additionalViewData">
|
||||
/// An anonymous <see cref="object"/> or <see cref="System.Collections.Generic.IDictionary{string, object}"/>
|
||||
/// An anonymous <see cref="object"/> or <see cref="System.Collections.Generic.IDictionary{String, Object}"/>
|
||||
/// that can contain additional view data that will be merged into the
|
||||
/// <see cref="ViewFeatures.ViewDataDictionary{TModel}"/> instance created for the template.
|
||||
/// </param>
|
||||
|
|
@ -541,7 +541,7 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
|
|||
/// <param name="htmlHelper">The <see cref="IHtmlHelper"/> instance this method extends.</param>
|
||||
/// <param name="templateName">The name of the template used to create the HTML markup.</param>
|
||||
/// <param name="additionalViewData">
|
||||
/// An anonymous <see cref="object"/> or <see cref="System.Collections.Generic.IDictionary{string, object}"/>
|
||||
/// An anonymous <see cref="object"/> or <see cref="System.Collections.Generic.IDictionary{String, Object}"/>
|
||||
/// that can contain additional view data that will be merged into the
|
||||
/// <see cref="ViewFeatures.ViewDataDictionary{TModel}"/> instance created for the template.
|
||||
/// </param>
|
||||
|
|
@ -624,7 +624,7 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
|
|||
/// properties that have the same name.
|
||||
/// </param>
|
||||
/// <param name="additionalViewData">
|
||||
/// An anonymous <see cref="object"/> or <see cref="System.Collections.Generic.IDictionary{string, object}"/>
|
||||
/// An anonymous <see cref="object"/> or <see cref="System.Collections.Generic.IDictionary{String, Object}"/>
|
||||
/// that can contain additional view data that will be merged into the
|
||||
/// <see cref="ViewFeatures.ViewDataDictionary{TModel}"/> instance created for the template.
|
||||
/// </param>
|
||||
|
|
|
|||
|
|
@ -46,8 +46,7 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
|
|||
/// <param name="antiforgery">
|
||||
/// If <c>true</c>, <form> elements will include an antiforgery token.
|
||||
/// If <c>false</c>, suppresses the generation an <input> of type "hidden" with an antiforgery token.
|
||||
/// If <c>null</c>, <form> elements will include an antiforgery token only if
|
||||
/// <paramref name="method"/> is not <see cref="FormMethod.Get"/>.
|
||||
/// If <c>null</c>, <form> elements will include an antiforgery token.
|
||||
/// </param>
|
||||
/// <returns>
|
||||
/// An <see cref="MvcForm"/> instance which renders the </form> end tag when disposed.
|
||||
|
|
@ -108,7 +107,7 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
|
|||
/// <param name="method">The HTTP method for processing the form, either GET or POST.</param>
|
||||
/// <param name="htmlAttributes">
|
||||
/// An <see cref="object"/> that contains the HTML attributes for the element. Alternatively, an
|
||||
/// <see cref="System.Collections.Generic.IDictionary{string, object}"/> instance containing the HTML
|
||||
/// <see cref="System.Collections.Generic.IDictionary{String, Object}"/> instance containing the HTML
|
||||
/// attributes.
|
||||
/// </param>
|
||||
/// <returns>
|
||||
|
|
@ -150,7 +149,7 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
|
|||
/// </param>
|
||||
/// <param name="htmlAttributes">
|
||||
/// An <see cref="object"/> that contains the HTML attributes for the element. Alternatively, an
|
||||
/// <see cref="System.Collections.Generic.IDictionary{string, object}"/> instance containing the HTML
|
||||
/// <see cref="System.Collections.Generic.IDictionary{String, Object}"/> instance containing the HTML
|
||||
/// attributes.
|
||||
/// </param>
|
||||
/// <returns>
|
||||
|
|
@ -188,7 +187,7 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
|
|||
/// An <see cref="object"/> that contains the parameters for a route. The parameters are retrieved through
|
||||
/// reflection by examining the properties of the <see cref="object"/>. This <see cref="object"/> is typically
|
||||
/// created using <see cref="object"/> initializer syntax. Alternatively, an
|
||||
/// <see cref="System.Collections.Generic.IDictionary{string, object}"/> instance containing the route
|
||||
/// <see cref="System.Collections.Generic.IDictionary{String, Object}"/> instance containing the route
|
||||
/// parameters.
|
||||
/// </param>
|
||||
/// <returns>
|
||||
|
|
@ -256,7 +255,7 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
|
|||
/// An <see cref="object"/> that contains the parameters for a route. The parameters are retrieved through
|
||||
/// reflection by examining the properties of the <see cref="object"/>. This <see cref="object"/> is typically
|
||||
/// created using <see cref="object"/> initializer syntax. Alternatively, an
|
||||
/// <see cref="System.Collections.Generic.IDictionary{string, object}"/> instance containing the route
|
||||
/// <see cref="System.Collections.Generic.IDictionary{String, Object}"/> instance containing the route
|
||||
/// parameters.
|
||||
/// </param>
|
||||
/// <returns>
|
||||
|
|
@ -330,7 +329,7 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
|
|||
/// An <see cref="object"/> that contains the parameters for a route. The parameters are retrieved through
|
||||
/// reflection by examining the properties of the <see cref="object"/>. This <see cref="object"/> is typically
|
||||
/// created using <see cref="object"/> initializer syntax. Alternatively, an
|
||||
/// <see cref="System.Collections.Generic.IDictionary{string, object}"/> instance containing the route
|
||||
/// <see cref="System.Collections.Generic.IDictionary{String, Object}"/> instance containing the route
|
||||
/// parameters.
|
||||
/// </param>
|
||||
/// <param name="method">The HTTP method for processing the form, either GET or POST.</param>
|
||||
|
|
@ -371,7 +370,7 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
|
|||
/// <param name="method">The HTTP method for processing the form, either GET or POST.</param>
|
||||
/// <param name="htmlAttributes">
|
||||
/// An <see cref="object"/> that contains the HTML attributes for the element. Alternatively, an
|
||||
/// <see cref="System.Collections.Generic.IDictionary{string, object}"/> instance containing the HTML
|
||||
/// <see cref="System.Collections.Generic.IDictionary{String, Object}"/> instance containing the HTML
|
||||
/// attributes.
|
||||
/// </param>
|
||||
/// <returns>
|
||||
|
|
@ -410,7 +409,7 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
|
|||
/// An <see cref="object"/> that contains the parameters for a route. The parameters are retrieved through
|
||||
/// reflection by examining the properties of the <see cref="object"/>. This <see cref="object"/> is typically
|
||||
/// created using <see cref="object"/> initializer syntax. Alternatively, an
|
||||
/// <see cref="System.Collections.Generic.IDictionary{string, object}"/> instance containing the route
|
||||
/// <see cref="System.Collections.Generic.IDictionary{String, Object}"/> instance containing the route
|
||||
/// parameters.
|
||||
/// </param>
|
||||
/// <returns>
|
||||
|
|
@ -443,14 +442,13 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
|
|||
/// An <see cref="object"/> that contains the parameters for a route. The parameters are retrieved through
|
||||
/// reflection by examining the properties of the <see cref="object"/>. This <see cref="object"/> is typically
|
||||
/// created using <see cref="object"/> initializer syntax. Alternatively, an
|
||||
/// <see cref="System.Collections.Generic.IDictionary{string, object}"/> instance containing the route
|
||||
/// <see cref="System.Collections.Generic.IDictionary{String, Object}"/> instance containing the route
|
||||
/// parameters.
|
||||
/// </param>
|
||||
/// <param name="antiforgery">
|
||||
/// If <c>true</c>, <form> elements will include an antiforgery token.
|
||||
/// If <c>false</c>, suppresses the generation an <input> of type "hidden" with an antiforgery token.
|
||||
/// If <c>null</c>, <form> elements will include an antiforgery token only if
|
||||
/// <paramref name="method"/> is not <see cref="FormMethod.Get"/>.
|
||||
/// If <c>null</c>, <form> elements will include an antiforgery token.
|
||||
/// </param>
|
||||
/// <returns>
|
||||
/// An <see cref="MvcForm"/> instance which renders the </form> end tag when disposed.
|
||||
|
|
@ -509,8 +507,7 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
|
|||
/// <param name="antiforgery">
|
||||
/// If <c>true</c>, <form> elements will include an antiforgery token.
|
||||
/// If <c>false</c>, suppresses the generation an <input> of type "hidden" with an antiforgery token.
|
||||
/// If <c>null</c>, <form> elements will include an antiforgery token only if
|
||||
/// <paramref name="method"/> is not <see cref="FormMethod.Get"/>.
|
||||
/// If <c>null</c>, <form> elements will include an antiforgery token.
|
||||
/// </param>
|
||||
/// <returns>
|
||||
/// An <see cref="MvcForm"/> instance which renders the </form> end tag when disposed.
|
||||
|
|
@ -543,7 +540,7 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
|
|||
/// An <see cref="object"/> that contains the parameters for a route. The parameters are retrieved through
|
||||
/// reflection by examining the properties of the <see cref="object"/>. This <see cref="object"/> is typically
|
||||
/// created using <see cref="object"/> initializer syntax. Alternatively, an
|
||||
/// <see cref="System.Collections.Generic.IDictionary{string, object}"/> instance containing the route
|
||||
/// <see cref="System.Collections.Generic.IDictionary{String, Object}"/> instance containing the route
|
||||
/// parameters.
|
||||
/// </param>
|
||||
/// <returns>
|
||||
|
|
@ -611,7 +608,7 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
|
|||
/// An <see cref="object"/> that contains the parameters for a route. The parameters are retrieved through
|
||||
/// reflection by examining the properties of the <see cref="object"/>. This <see cref="object"/> is typically
|
||||
/// created using <see cref="object"/> initializer syntax. Alternatively, an
|
||||
/// <see cref="System.Collections.Generic.IDictionary{string, object}"/> instance containing the route
|
||||
/// <see cref="System.Collections.Generic.IDictionary{String, Object}"/> instance containing the route
|
||||
/// parameters.
|
||||
/// </param>
|
||||
/// <param name="method">The HTTP method for processing the form, either GET or POST.</param>
|
||||
|
|
@ -649,7 +646,7 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
|
|||
/// <param name="method">The HTTP method for processing the form, either GET or POST.</param>
|
||||
/// <param name="htmlAttributes">
|
||||
/// An <see cref="object"/> that contains the HTML attributes for the element. Alternatively, an
|
||||
/// <see cref="System.Collections.Generic.IDictionary{string, object}"/> instance containing the HTML
|
||||
/// <see cref="System.Collections.Generic.IDictionary{String, Object}"/> instance containing the HTML
|
||||
/// attributes.
|
||||
/// </param>
|
||||
/// <returns>
|
||||
|
|
|
|||
|
|
@ -117,7 +117,7 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
|
|||
/// <param name="expression">Expression name, relative to the current model.</param>
|
||||
/// <param name="htmlAttributes">
|
||||
/// An <see cref="object"/> that contains the HTML attributes for the checkbox element. Alternatively, an
|
||||
/// <see cref="System.Collections.Generic.IDictionary{string, object}"/> instance containing the HTML
|
||||
/// <see cref="System.Collections.Generic.IDictionary{String, Object}"/> instance containing the HTML
|
||||
/// attributes.
|
||||
/// </param>
|
||||
/// <returns>A new <see cref="IHtmlContent"/> containing the <input> elements.</returns>
|
||||
|
|
@ -469,8 +469,7 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
|
|||
/// <para>
|
||||
/// In all but the default case, includes a "checked" attribute with
|
||||
/// value "checked" if the <see cref="string"/> values is equal to a converted <see cref="string"/> for
|
||||
/// <paramref name="value"/> or <paramref name="isChecked"/> is <c>true</c> (for that case); does not include
|
||||
/// the attribute otherwise.
|
||||
/// <paramref name="value"/>; does not include the attribute otherwise.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public static IHtmlContent RadioButton(
|
||||
|
|
@ -497,7 +496,7 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
|
|||
/// </param>
|
||||
/// <param name="htmlAttributes">
|
||||
/// An <see cref="object"/> that contains the HTML attributes for the element. Alternatively, an
|
||||
/// <see cref="System.Collections.Generic.IDictionary{string, object}"/> instance containing the HTML
|
||||
/// <see cref="System.Collections.Generic.IDictionary{String, Object}"/> instance containing the HTML
|
||||
/// attributes.
|
||||
/// </param>
|
||||
/// <returns>A new <see cref="IHtmlContent"/> containing the <input> element.</returns>
|
||||
|
|
@ -535,8 +534,7 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
|
|||
/// <para>
|
||||
/// In all but the <paramref name="htmlAttributes"/> and default cases, includes a "checked" attribute with
|
||||
/// value "checked" if the <see cref="string"/> values is equal to a converted <see cref="string"/> for
|
||||
/// <paramref name="value"/> or <paramref name="isChecked"/> is <c>true</c> (for that case); does not include
|
||||
/// the attribute otherwise.
|
||||
/// <paramref name="value"/>; does not include the attribute otherwise.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public static IHtmlContent RadioButton(
|
||||
|
|
@ -828,7 +826,7 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
|
|||
/// <param name="value">If non-<c>null</c>, value to include in the element.</param>
|
||||
/// <param name="htmlAttributes">
|
||||
/// An <see cref="object"/> that contains the HTML attributes for the element. Alternatively, an
|
||||
/// <see cref="System.Collections.Generic.IDictionary{string, object}"/> instance containing the HTML
|
||||
/// <see cref="System.Collections.Generic.IDictionary{String, Object}"/> instance containing the HTML
|
||||
/// attributes.
|
||||
/// </param>
|
||||
/// <returns>A new <see cref="IHtmlContent"/> containing the <input> element.</returns>
|
||||
|
|
@ -974,7 +972,7 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
|
|||
/// <param name="expression">An expression to be evaluated against the current model.</param>
|
||||
/// <param name="htmlAttributes">
|
||||
/// An <see cref="object"/> that contains the HTML attributes for the element. Alternatively, an
|
||||
/// <see cref="System.Collections.Generic.IDictionary{string, object}"/> instance containing the HTML
|
||||
/// <see cref="System.Collections.Generic.IDictionary{String, Object}"/> instance containing the HTML
|
||||
/// attributes.
|
||||
/// </param>
|
||||
/// <typeparam name="TModel">The type of the model.</typeparam>
|
||||
|
|
@ -1067,7 +1065,7 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
|
|||
/// <param name="expression">Expression name, relative to the current model.</param>
|
||||
/// <param name="htmlAttributes">
|
||||
/// An <see cref="object"/> that contains the HTML attributes for the element. Alternatively, an
|
||||
/// <see cref="System.Collections.Generic.IDictionary{string, object}"/> instance containing the HTML
|
||||
/// <see cref="System.Collections.Generic.IDictionary{String, Object}"/> instance containing the HTML
|
||||
/// attributes.
|
||||
/// </param>
|
||||
/// <returns>A new <see cref="IHtmlContent"/> containing the <textarea> element.</returns>
|
||||
|
|
@ -1163,7 +1161,7 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
|
|||
/// <param name="value">If non-<c>null</c>, value to include in the element.</param>
|
||||
/// <param name="htmlAttributes">
|
||||
/// An <see cref="object"/> that contains the HTML attributes for the element. Alternatively, an
|
||||
/// <see cref="System.Collections.Generic.IDictionary{string, object}"/> instance containing the HTML
|
||||
/// <see cref="System.Collections.Generic.IDictionary{String, Object}"/> instance containing the HTML
|
||||
/// attributes.
|
||||
/// </param>
|
||||
/// <returns>A new <see cref="IHtmlContent"/> containing the <textarea> element.</returns>
|
||||
|
|
@ -1257,7 +1255,7 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
|
|||
/// <param name="expression">An expression to be evaluated against the current model.</param>
|
||||
/// <param name="htmlAttributes">
|
||||
/// An <see cref="object"/> that contains the HTML attributes for the element. Alternatively, an
|
||||
/// <see cref="System.Collections.Generic.IDictionary{string, object}"/> instance containing the HTML
|
||||
/// <see cref="System.Collections.Generic.IDictionary{String, Object}"/> instance containing the HTML
|
||||
/// attributes.
|
||||
/// </param>
|
||||
/// <typeparam name="TModel">The type of the model.</typeparam>
|
||||
|
|
|
|||
|
|
@ -104,7 +104,7 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
|
|||
/// <param name="expression">An expression to be evaluated against the current model.</param>
|
||||
/// <param name="htmlAttributes">
|
||||
/// An <see cref="object"/> that contains the HTML attributes for the element. Alternatively, an
|
||||
/// <see cref="System.Collections.Generic.IDictionary{string, object}"/> instance containing the HTML
|
||||
/// <see cref="System.Collections.Generic.IDictionary{String, Object}"/> instance containing the HTML
|
||||
/// attributes.
|
||||
/// </param>
|
||||
/// <typeparam name="TModel">The type of the model.</typeparam>
|
||||
|
|
@ -165,7 +165,7 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
|
|||
/// <param name="htmlHelper">The <see cref="IHtmlHelper"/> instance this method extends.</param>
|
||||
/// <param name="htmlAttributes">
|
||||
/// An <see cref="object"/> that contains the HTML attributes for the element. Alternatively, an
|
||||
/// <see cref="System.Collections.Generic.IDictionary{string, object}"/> instance containing the HTML
|
||||
/// <see cref="System.Collections.Generic.IDictionary{String, Object}"/> instance containing the HTML
|
||||
/// attributes.
|
||||
/// </param>
|
||||
/// <returns>A new <see cref="IHtmlContent"/> containing the <label> element.</returns>
|
||||
|
|
@ -186,7 +186,7 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
|
|||
/// <param name="labelText">The inner text of the element.</param>
|
||||
/// <param name="htmlAttributes">
|
||||
/// An <see cref="object"/> that contains the HTML attributes for the element. Alternatively, an
|
||||
/// <see cref="System.Collections.Generic.IDictionary{string, object}"/> instance containing the HTML
|
||||
/// <see cref="System.Collections.Generic.IDictionary{String, Object}"/> instance containing the HTML
|
||||
/// attributes.
|
||||
/// </param>
|
||||
/// <returns>A new <see cref="IHtmlContent"/> containing the <label> element.</returns>
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
|
|||
/// An <see cref="object"/> that contains the parameters for a route. The parameters are retrieved through
|
||||
/// reflection by examining the properties of the <see cref="object"/>. This <see cref="object"/> is typically
|
||||
/// created using <see cref="object"/> initializer syntax. Alternatively, an
|
||||
/// <see cref="System.Collections.Generic.IDictionary{string, object}"/> instance containing the route
|
||||
/// <see cref="System.Collections.Generic.IDictionary{String, Object}"/> instance containing the route
|
||||
/// parameters.
|
||||
/// </param>
|
||||
/// <returns>A new <see cref="IHtmlContent"/> containing the anchor element.</returns>
|
||||
|
|
@ -95,12 +95,12 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
|
|||
/// An <see cref="object"/> that contains the parameters for a route. The parameters are retrieved through
|
||||
/// reflection by examining the properties of the <see cref="object"/>. This <see cref="object"/> is typically
|
||||
/// created using <see cref="object"/> initializer syntax. Alternatively, an
|
||||
/// <see cref="System.Collections.Generic.IDictionary{string, object}"/> instance containing the route
|
||||
/// <see cref="System.Collections.Generic.IDictionary{String, Object}"/> instance containing the route
|
||||
/// parameters.
|
||||
/// </param>
|
||||
/// <param name="htmlAttributes">
|
||||
/// An <see cref="object"/> that contains the HTML attributes for the element. Alternatively, an
|
||||
/// <see cref="System.Collections.Generic.IDictionary{string, object}"/> instance containing the HTML
|
||||
/// <see cref="System.Collections.Generic.IDictionary{String, Object}"/> instance containing the HTML
|
||||
/// attributes.
|
||||
/// </param>
|
||||
/// <returns>A new <see cref="IHtmlContent"/> containing the anchor element.</returns>
|
||||
|
|
@ -178,7 +178,7 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
|
|||
/// An <see cref="object"/> that contains the parameters for a route. The parameters are retrieved through
|
||||
/// reflection by examining the properties of the <see cref="object"/>. This <see cref="object"/> is typically
|
||||
/// created using <see cref="object"/> initializer syntax. Alternatively, an
|
||||
/// <see cref="System.Collections.Generic.IDictionary{string, object}"/> instance containing the route
|
||||
/// <see cref="System.Collections.Generic.IDictionary{String, Object}"/> instance containing the route
|
||||
/// parameters.
|
||||
/// </param>
|
||||
/// <returns>A new <see cref="IHtmlContent"/> containing the anchor element.</returns>
|
||||
|
|
@ -221,12 +221,12 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
|
|||
/// An <see cref="object"/> that contains the parameters for a route. The parameters are retrieved through
|
||||
/// reflection by examining the properties of the <see cref="object"/>. This <see cref="object"/> is typically
|
||||
/// created using <see cref="object"/> initializer syntax. Alternatively, an
|
||||
/// <see cref="System.Collections.Generic.IDictionary{string, object}"/> instance containing the route
|
||||
/// <see cref="System.Collections.Generic.IDictionary{String, Object}"/> instance containing the route
|
||||
/// parameters.
|
||||
/// </param>
|
||||
/// <param name="htmlAttributes">
|
||||
/// An <see cref="object"/> that contains the HTML attributes for the element. Alternatively, an
|
||||
/// <see cref="System.Collections.Generic.IDictionary{string, object}"/> instance containing the HTML
|
||||
/// <see cref="System.Collections.Generic.IDictionary{String, Object}"/> instance containing the HTML
|
||||
/// attributes.
|
||||
/// </param>
|
||||
/// <returns>A new <see cref="IHtmlContent"/> containing the anchor element.</returns>
|
||||
|
|
@ -268,7 +268,7 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
|
|||
/// An <see cref="object"/> that contains the parameters for a route. The parameters are retrieved through
|
||||
/// reflection by examining the properties of the <see cref="object"/>. This <see cref="object"/> is typically
|
||||
/// created using <see cref="object"/> initializer syntax. Alternatively, an
|
||||
/// <see cref="System.Collections.Generic.IDictionary{string, object}"/> instance containing the route
|
||||
/// <see cref="System.Collections.Generic.IDictionary{String, Object}"/> instance containing the route
|
||||
/// parameters.
|
||||
/// </param>
|
||||
/// <returns>A new <see cref="IHtmlContent"/> containing the anchor element.</returns>
|
||||
|
|
@ -339,7 +339,7 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
|
|||
/// An <see cref="object"/> that contains the parameters for a route. The parameters are retrieved through
|
||||
/// reflection by examining the properties of the <see cref="object"/>. This <see cref="object"/> is typically
|
||||
/// created using <see cref="object"/> initializer syntax. Alternatively, an
|
||||
/// <see cref="System.Collections.Generic.IDictionary{string, object}"/> instance containing the route
|
||||
/// <see cref="System.Collections.Generic.IDictionary{String, Object}"/> instance containing the route
|
||||
/// parameters.
|
||||
/// </param>
|
||||
/// <returns>A new <see cref="IHtmlContent"/> containing the anchor element.</returns>
|
||||
|
|
@ -378,12 +378,12 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
|
|||
/// An <see cref="object"/> that contains the parameters for a route. The parameters are retrieved through
|
||||
/// reflection by examining the properties of the <see cref="object"/>. This <see cref="object"/> is typically
|
||||
/// created using <see cref="object"/> initializer syntax. Alternatively, an
|
||||
/// <see cref="System.Collections.Generic.IDictionary{string, object}"/> instance containing the route
|
||||
/// <see cref="System.Collections.Generic.IDictionary{String, Object}"/> instance containing the route
|
||||
/// parameters.
|
||||
/// </param>
|
||||
/// <param name="htmlAttributes">
|
||||
/// An <see cref="object"/> that contains the HTML attributes for the element. Alternatively, an
|
||||
/// <see cref="System.Collections.Generic.IDictionary{string, object}"/> instance containing the HTML
|
||||
/// <see cref="System.Collections.Generic.IDictionary{String, Object}"/> instance containing the HTML
|
||||
/// attributes.
|
||||
/// </param>
|
||||
/// <returns>A new <see cref="IHtmlContent"/> containing the anchor element.</returns>
|
||||
|
|
@ -423,12 +423,12 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
|
|||
/// An <see cref="object"/> that contains the parameters for a route. The parameters are retrieved through
|
||||
/// reflection by examining the properties of the <see cref="object"/>. This <see cref="object"/> is typically
|
||||
/// created using <see cref="object"/> initializer syntax. Alternatively, an
|
||||
/// <see cref="System.Collections.Generic.IDictionary{string, object}"/> instance containing the route
|
||||
/// <see cref="System.Collections.Generic.IDictionary{String, Object}"/> instance containing the route
|
||||
/// parameters.
|
||||
/// </param>
|
||||
/// <param name="htmlAttributes">
|
||||
/// An <see cref="object"/> that contains the HTML attributes for the element. Alternatively, an
|
||||
/// <see cref="System.Collections.Generic.IDictionary{string, object}"/> instance containing the HTML
|
||||
/// <see cref="System.Collections.Generic.IDictionary{String, Object}"/> instance containing the HTML
|
||||
/// attributes.
|
||||
/// </param>
|
||||
/// <returns>A new <see cref="IHtmlContent"/> containing the anchor element.</returns>
|
||||
|
|
|
|||
|
|
@ -107,7 +107,7 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
|
|||
/// </param>
|
||||
/// <param name="htmlAttributes">
|
||||
/// An <see cref="object"/> that contains the HTML attributes for the <select> element. Alternatively, an
|
||||
/// <see cref="IDictionary{string, object}"/> instance containing the HTML attributes.
|
||||
/// <see cref="IDictionary{String, Object}"/> instance containing the HTML attributes.
|
||||
/// </param>
|
||||
/// <returns>A new <see cref="IHtmlContent"/> containing the <select> element.</returns>
|
||||
/// <remarks>
|
||||
|
|
@ -210,7 +210,7 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
|
|||
/// </param>
|
||||
/// <param name="htmlAttributes">
|
||||
/// An <see cref="object"/> that contains the HTML attributes for the <select> element. Alternatively, an
|
||||
/// <see cref="IDictionary{string, object}"/> instance containing the HTML attributes.
|
||||
/// <see cref="IDictionary{String, Object}"/> instance containing the HTML attributes.
|
||||
/// </param>
|
||||
/// <typeparam name="TModel">The type of the model.</typeparam>
|
||||
/// <typeparam name="TResult">The type of the <paramref name="expression"/> result.</typeparam>
|
||||
|
|
|
|||
|
|
@ -75,7 +75,7 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
|
|||
/// <param name="htmlAttributes">
|
||||
/// An <see cref="object"/> that contains the HTML attributes for the
|
||||
/// (<see cref="ViewContext.ValidationMessageElement"/>) element. Alternatively, an
|
||||
/// <see cref="System.Collections.Generic.IDictionary{string, object}"/> instance containing the HTML
|
||||
/// <see cref="System.Collections.Generic.IDictionary{String, Object}"/> instance containing the HTML
|
||||
/// attributes.
|
||||
/// </param>
|
||||
/// <returns>
|
||||
|
|
@ -146,7 +146,7 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
|
|||
/// <param name="htmlAttributes">
|
||||
/// An <see cref="object"/> that contains the HTML attributes for the
|
||||
/// (<see cref="ViewContext.ValidationMessageElement"/>) element. Alternatively, an
|
||||
/// <see cref="System.Collections.Generic.IDictionary{string, object}"/> instance containing the HTML
|
||||
/// <see cref="System.Collections.Generic.IDictionary{String, Object}"/> instance containing the HTML
|
||||
/// attributes.
|
||||
/// </param>
|
||||
/// <returns>
|
||||
|
|
@ -249,7 +249,7 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
|
|||
/// <param name="htmlAttributes">
|
||||
/// An <see cref="object"/> that contains the HTML attributes for the
|
||||
/// (<see cref="ViewContext.ValidationMessageElement"/>) element. Alternatively, an
|
||||
/// <see cref="System.Collections.Generic.IDictionary{string, object}"/> instance containing the HTML
|
||||
/// <see cref="System.Collections.Generic.IDictionary{String, Object}"/> instance containing the HTML
|
||||
/// attributes.
|
||||
/// </param>
|
||||
/// <typeparam name="TModel">The type of the model.</typeparam>
|
||||
|
|
@ -461,7 +461,7 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
|
|||
/// <param name="message">The message to display with the validation summary.</param>
|
||||
/// <param name="htmlAttributes">
|
||||
/// An <see cref="object"/> that contains the HTML attributes for the topmost (<div>) element.
|
||||
/// Alternatively, an <see cref="System.Collections.Generic.IDictionary{string, object}"/> instance containing
|
||||
/// Alternatively, an <see cref="System.Collections.Generic.IDictionary{String, Object}"/> instance containing
|
||||
/// the HTML attributes.
|
||||
/// </param>
|
||||
/// <returns>
|
||||
|
|
@ -495,7 +495,7 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
|
|||
/// <param name="message">The message to display with the validation summary.</param>
|
||||
/// <param name="htmlAttributes">
|
||||
/// An <see cref="object"/> that contains the HTML attributes for the topmost (<div>) element.
|
||||
/// Alternatively, an <see cref="System.Collections.Generic.IDictionary{string, object}"/> instance containing
|
||||
/// Alternatively, an <see cref="System.Collections.Generic.IDictionary{String, Object}"/> instance containing
|
||||
/// the HTML attributes.
|
||||
/// </param>
|
||||
/// <param name="tag">
|
||||
|
|
@ -572,7 +572,7 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
|
|||
/// <param name="message">The message to display with the validation summary.</param>
|
||||
/// <param name="htmlAttributes">
|
||||
/// An <see cref="object"/> that contains the HTML attributes for the topmost (<div>) element.
|
||||
/// Alternatively, an <see cref="System.Collections.Generic.IDictionary{string, object}"/> instance containing
|
||||
/// Alternatively, an <see cref="System.Collections.Generic.IDictionary{String, Object}"/> instance containing
|
||||
/// the HTML attributes.
|
||||
/// </param>
|
||||
/// <returns>
|
||||
|
|
|
|||
|
|
@ -71,11 +71,11 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
|
|||
/// An <see cref="object"/> that contains the parameters for a route. The parameters are retrieved through
|
||||
/// reflection by examining the properties of the <see cref="object"/>. This <see cref="object"/> is typically
|
||||
/// created using <see cref="object"/> initializer syntax. Alternatively, an
|
||||
/// <see cref="IDictionary{string, object}"/> instance containing the route parameters.
|
||||
/// <see cref="IDictionary{String, Object}"/> instance containing the route parameters.
|
||||
/// </param>
|
||||
/// <param name="htmlAttributes">
|
||||
/// An <see cref="object"/> that contains the HTML attributes for the element. Alternatively, an
|
||||
/// <see cref="IDictionary{string, object}"/> instance containing the HTML attributes.
|
||||
/// <see cref="IDictionary{String, Object}"/> instance containing the HTML attributes.
|
||||
/// </param>
|
||||
/// <returns>A new <see cref="IHtmlContent"/> containing the anchor element.</returns>
|
||||
IHtmlContent ActionLink(
|
||||
|
|
@ -105,7 +105,7 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
|
|||
/// An <see cref="object"/> that contains the parameters for a route. The parameters are retrieved through
|
||||
/// reflection by examining the properties of the <see cref="object"/>. This <see cref="object"/> is typically
|
||||
/// created using <see cref="object"/> initializer syntax. Alternatively, an
|
||||
/// <see cref="IDictionary{string, object}"/> instance containing the route parameters.
|
||||
/// <see cref="IDictionary{String, Object}"/> instance containing the route parameters.
|
||||
/// </param>
|
||||
/// <param name="method">The HTTP method for processing the form, either GET or POST.</param>
|
||||
/// <param name="antiforgery">
|
||||
|
|
@ -116,7 +116,7 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
|
|||
/// </param>
|
||||
/// <param name="htmlAttributes">
|
||||
/// An <see cref="object"/> that contains the HTML attributes for the element. Alternatively, an
|
||||
/// <see cref="IDictionary{string, object}"/> instance containing the HTML attributes.
|
||||
/// <see cref="IDictionary{String, Object}"/> instance containing the HTML attributes.
|
||||
/// </param>
|
||||
/// <returns>
|
||||
/// An <see cref="MvcForm"/> instance which renders the </form> end tag when disposed.
|
||||
|
|
@ -141,7 +141,7 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
|
|||
/// An <see cref="object"/> that contains the parameters for a route. The parameters are retrieved through
|
||||
/// reflection by examining the properties of the <see cref="object"/>. This <see cref="object"/> is typically
|
||||
/// created using <see cref="object"/> initializer syntax. Alternatively, an
|
||||
/// <see cref="IDictionary{string, object}"/> instance containing the route parameters.
|
||||
/// <see cref="IDictionary{String, Object}"/> instance containing the route parameters.
|
||||
/// </param>
|
||||
/// <param name="method">The HTTP method for processing the form, either GET or POST.</param>
|
||||
/// <param name="antiforgery">
|
||||
|
|
@ -152,7 +152,7 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
|
|||
/// </param>
|
||||
/// <param name="htmlAttributes">
|
||||
/// An <see cref="object"/> that contains the HTML attributes for the element. Alternatively, an
|
||||
/// <see cref="IDictionary{string, object}"/> instance containing the HTML attributes.
|
||||
/// <see cref="IDictionary{String, Object}"/> instance containing the HTML attributes.
|
||||
/// </param>
|
||||
/// <returns>
|
||||
/// An <see cref="MvcForm"/> instance which renders the </form> end tag when disposed.
|
||||
|
|
@ -175,7 +175,7 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
|
|||
/// <param name="isChecked">If <c>true</c>, checkbox is initially checked.</param>
|
||||
/// <param name="htmlAttributes">
|
||||
/// An <see cref="object"/> that contains the HTML attributes for the checkbox element. Alternatively, an
|
||||
/// <see cref="IDictionary{string, object}"/> instance containing the HTML attributes.
|
||||
/// <see cref="IDictionary{String, Object}"/> instance containing the HTML attributes.
|
||||
/// </param>
|
||||
/// <returns>A new <see cref="IHtmlContent"/> containing the <input> elements.</returns>
|
||||
/// <remarks>
|
||||
|
|
@ -226,7 +226,7 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
|
|||
/// properties that have the same name.
|
||||
/// </param>
|
||||
/// <param name="additionalViewData">
|
||||
/// An anonymous <see cref="object"/> or <see cref="IDictionary{string, object}"/> that can contain additional
|
||||
/// An anonymous <see cref="object"/> or <see cref="IDictionary{String, Object}"/> that can contain additional
|
||||
/// view data that will be merged into the <see cref="ViewDataDictionary{TModel}"/> instance created for the
|
||||
/// template.
|
||||
/// </param>
|
||||
|
|
@ -278,7 +278,7 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
|
|||
/// </param>
|
||||
/// <param name="htmlAttributes">
|
||||
/// An <see cref="object"/> that contains the HTML attributes for the <select> element. Alternatively, an
|
||||
/// <see cref="IDictionary{string, object}"/> instance containing the HTML attributes.
|
||||
/// <see cref="IDictionary{String, Object}"/> instance containing the HTML attributes.
|
||||
/// </param>
|
||||
/// <returns>A new <see cref="IHtmlContent"/> containing the <select> element.</returns>
|
||||
/// <remarks>
|
||||
|
|
@ -307,7 +307,7 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
|
|||
/// properties that have the same name.
|
||||
/// </param>
|
||||
/// <param name="additionalViewData">
|
||||
/// An anonymous <see cref="object"/> or <see cref="IDictionary{string, object}"/> that can contain additional
|
||||
/// An anonymous <see cref="object"/> or <see cref="IDictionary{String, Object}"/> that can contain additional
|
||||
/// view data that will be merged into the <see cref="ViewDataDictionary{TModel}"/> instance created for the
|
||||
/// template.
|
||||
/// </param>
|
||||
|
|
@ -404,7 +404,7 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
|
|||
/// <param name="value">If non-<c>null</c>, value to include in the element.</param>
|
||||
/// <param name="htmlAttributes">
|
||||
/// An <see cref="object"/> that contains the HTML attributes for the element. Alternatively, an
|
||||
/// <see cref="IDictionary{string, object}"/> instance containing the HTML attributes.
|
||||
/// <see cref="IDictionary{String, Object}"/> instance containing the HTML attributes.
|
||||
/// </param>
|
||||
/// <returns>A new <see cref="IHtmlContent"/> containing the <input> element.</returns>
|
||||
/// <remarks>
|
||||
|
|
@ -450,7 +450,7 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
|
|||
/// <param name="labelText">The inner text of the element.</param>
|
||||
/// <param name="htmlAttributes">
|
||||
/// An <see cref="object"/> that contains the HTML attributes for the element. Alternatively, an
|
||||
/// <see cref="IDictionary{string, object}"/> instance containing the HTML attributes.
|
||||
/// <see cref="IDictionary{String, Object}"/> instance containing the HTML attributes.
|
||||
/// </param>
|
||||
/// <returns>A new <see cref="IHtmlContent"/> containing the <label> element.</returns>
|
||||
IHtmlContent Label(string expression, string labelText, object htmlAttributes);
|
||||
|
|
@ -466,7 +466,7 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
|
|||
/// </param>
|
||||
/// <param name="htmlAttributes">
|
||||
/// An <see cref="object"/> that contains the HTML attributes for the <select> element. Alternatively, an
|
||||
/// <see cref="IDictionary{string, object}"/> instance containing the HTML attributes.
|
||||
/// <see cref="IDictionary{String, Object}"/> instance containing the HTML attributes.
|
||||
/// </param>
|
||||
/// <returns>A new <see cref="IHtmlContent"/> containing the <select> element.</returns>
|
||||
/// <remarks>
|
||||
|
|
@ -504,7 +504,7 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
|
|||
/// <param name="value">If non-<c>null</c>, value to include in the element.</param>
|
||||
/// <param name="htmlAttributes">
|
||||
/// An <see cref="object"/> that contains the HTML attributes for the element. Alternatively, an
|
||||
/// <see cref="IDictionary{string, object}"/> instance containing the HTML attributes.
|
||||
/// <see cref="IDictionary{String, Object}"/> instance containing the HTML attributes.
|
||||
/// </param>
|
||||
/// <returns>A new <see cref="IHtmlContent"/> containing the <input> element.</returns>
|
||||
/// <remarks>
|
||||
|
|
@ -538,7 +538,7 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
|
|||
/// </param>
|
||||
/// <param name="htmlAttributes">
|
||||
/// An <see cref="object"/> that contains the HTML attributes for the element. Alternatively, an
|
||||
/// <see cref="IDictionary{string, object}"/> instance containing the HTML attributes.
|
||||
/// <see cref="IDictionary{String, Object}"/> instance containing the HTML attributes.
|
||||
/// </param>
|
||||
/// <returns>A new <see cref="IHtmlContent"/> containing the <input> element.</returns>
|
||||
/// <remarks>
|
||||
|
|
@ -624,11 +624,11 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
|
|||
/// An <see cref="object"/> that contains the parameters for a route. The parameters are retrieved through
|
||||
/// reflection by examining the properties of the <see cref="object"/>. This <see cref="object"/> is typically
|
||||
/// created using <see cref="object"/> initializer syntax. Alternatively, an
|
||||
/// <see cref="IDictionary{string, object}"/> instance containing the route parameters.
|
||||
/// <see cref="IDictionary{String, Object}"/> instance containing the route parameters.
|
||||
/// </param>
|
||||
/// <param name="htmlAttributes">
|
||||
/// An <see cref="object"/> that contains the HTML attributes for the element. Alternatively, an
|
||||
/// <see cref="IDictionary{string, object}"/> instance containing the HTML attributes.
|
||||
/// <see cref="IDictionary{String, Object}"/> instance containing the HTML attributes.
|
||||
/// </param>
|
||||
/// <returns>A new <see cref="IHtmlContent"/> containing the anchor element.</returns>
|
||||
IHtmlContent RouteLink(
|
||||
|
|
@ -649,7 +649,7 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
|
|||
/// <param name="columns">Number of columns in the textarea.</param>
|
||||
/// <param name="htmlAttributes">
|
||||
/// An <see cref="object"/> that contains the HTML attributes for the element. Alternatively, an
|
||||
/// <see cref="IDictionary{string, object}"/> instance containing the HTML attributes.
|
||||
/// <see cref="IDictionary{String, Object}"/> instance containing the HTML attributes.
|
||||
/// </param>
|
||||
/// <returns>A new <see cref="IHtmlContent"/> containing the <textarea> element.</returns>
|
||||
/// <remarks>
|
||||
|
|
@ -690,7 +690,7 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
|
|||
/// </param>
|
||||
/// <param name="htmlAttributes">
|
||||
/// An <see cref="object"/> that contains the HTML attributes for the element. Alternatively, an
|
||||
/// <see cref="IDictionary{string, object}"/> instance containing the HTML attributes.
|
||||
/// <see cref="IDictionary{String, Object}"/> instance containing the HTML attributes.
|
||||
/// </param>
|
||||
/// <returns>A new <see cref="IHtmlContent"/> containing the <input> element.</returns>
|
||||
/// <remarks>
|
||||
|
|
@ -740,7 +740,7 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
|
|||
/// </param>
|
||||
/// <param name="htmlAttributes">
|
||||
/// An <see cref="object"/> that contains the HTML attributes for the <paramref name="tag"/> element.
|
||||
/// Alternatively, an <see cref="IDictionary{string, object}"/> instance containing the HTML attributes.
|
||||
/// Alternatively, an <see cref="IDictionary{String, Object}"/> instance containing the HTML attributes.
|
||||
/// </param>
|
||||
/// <param name="tag">
|
||||
/// The tag to wrap the <paramref name="message"/> in the generated HTML. Its default value is
|
||||
|
|
@ -762,7 +762,7 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
|
|||
/// <param name="message">The message to display with the validation summary.</param>
|
||||
/// <param name="htmlAttributes">
|
||||
/// An <see cref="object"/> that contains the HTML attributes for the topmost (<div>) element.
|
||||
/// Alternatively, an <see cref="IDictionary{string, object}"/> instance containing the HTML attributes.
|
||||
/// Alternatively, an <see cref="IDictionary{String, Object}"/> instance containing the HTML attributes.
|
||||
/// </param>
|
||||
/// <param name="tag">
|
||||
/// The tag to wrap the <paramref name="message"/> in the generated HTML. Its default value is
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
|
|||
/// <param name="expression">An expression to be evaluated against the current model.</param>
|
||||
/// <param name="htmlAttributes">
|
||||
/// An <see cref="object"/> that contains the HTML attributes for the checkbox element. Alternatively, an
|
||||
/// <see cref="IDictionary{string, object}"/> instance containing the HTML attributes.
|
||||
/// <see cref="IDictionary{String, Object}"/> instance containing the HTML attributes.
|
||||
/// </param>
|
||||
/// <returns>A new <see cref="IHtmlContent"/> containing the <input> elements.</returns>
|
||||
/// <remarks>
|
||||
|
|
@ -68,7 +68,7 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
|
|||
/// that have the same name.
|
||||
/// </param>
|
||||
/// <param name="additionalViewData">
|
||||
/// An anonymous <see cref="object"/> or <see cref="IDictionary{string, object}"/> that can contain additional
|
||||
/// An anonymous <see cref="object"/> or <see cref="IDictionary{String, Object}"/> that can contain additional
|
||||
/// view data that will be merged into the <see cref="ViewDataDictionary{TModel}"/> instance created for the
|
||||
/// template.
|
||||
/// </param>
|
||||
|
|
@ -129,7 +129,7 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
|
|||
/// </param>
|
||||
/// <param name="htmlAttributes">
|
||||
/// An <see cref="object"/> that contains the HTML attributes for the <select> element. Alternatively, an
|
||||
/// <see cref="IDictionary{string, object}"/> instance containing the HTML attributes.
|
||||
/// <see cref="IDictionary{String, Object}"/> instance containing the HTML attributes.
|
||||
/// </param>
|
||||
/// <typeparam name="TResult">The type of the <paramref name="expression"/> result.</typeparam>
|
||||
/// <returns>A new <see cref="IHtmlContent"/> containing the <select> element.</returns>
|
||||
|
|
@ -156,7 +156,7 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
|
|||
/// that have the same name.
|
||||
/// </param>
|
||||
/// <param name="additionalViewData">
|
||||
/// An anonymous <see cref="object"/> or <see cref="IDictionary{string, object}"/> that can contain additional
|
||||
/// An anonymous <see cref="object"/> or <see cref="IDictionary{String, Object}"/> that can contain additional
|
||||
/// view data that will be merged into the <see cref="ViewDataDictionary{TModel}"/> instance created for the
|
||||
/// template.
|
||||
/// </param>
|
||||
|
|
@ -184,7 +184,7 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
|
|||
/// <param name="expression">An expression to be evaluated against the current model.</param>
|
||||
/// <param name="htmlAttributes">
|
||||
/// An <see cref="object"/> that contains the HTML attributes for the element. Alternatively, an
|
||||
/// <see cref="IDictionary{string, object}"/> instance containing the HTML attributes.
|
||||
/// <see cref="IDictionary{String, Object}"/> instance containing the HTML attributes.
|
||||
/// </param>
|
||||
/// <typeparam name="TResult">The type of the <paramref name="expression"/> result.</typeparam>
|
||||
/// <returns>A new <see cref="IHtmlContent"/> containing the <input> element.</returns>
|
||||
|
|
@ -227,7 +227,7 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
|
|||
/// <param name="labelText">The inner text of the element.</param>
|
||||
/// <param name="htmlAttributes">
|
||||
/// An <see cref="object"/> that contains the HTML attributes for the element. Alternatively, an
|
||||
/// <see cref="IDictionary{string, object}"/> instance containing the HTML attributes.
|
||||
/// <see cref="IDictionary{String, Object}"/> instance containing the HTML attributes.
|
||||
/// </param>
|
||||
/// <typeparam name="TResult">The type of the <paramref name="expression"/> result.</typeparam>
|
||||
/// <returns>A new <see cref="IHtmlContent"/> containing the <label> element.</returns>
|
||||
|
|
@ -247,7 +247,7 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
|
|||
/// </param>
|
||||
/// <param name="htmlAttributes">
|
||||
/// An <see cref="object"/> that contains the HTML attributes for the <select> element. Alternatively, an
|
||||
/// <see cref="IDictionary{string, object}"/> instance containing the HTML attributes.
|
||||
/// <see cref="IDictionary{String, Object}"/> instance containing the HTML attributes.
|
||||
/// </param>
|
||||
/// <typeparam name="TResult">The type of the <paramref name="expression"/> result.</typeparam>
|
||||
/// <returns>A new <see cref="IHtmlContent"/> containing the <select> element.</returns>
|
||||
|
|
@ -275,7 +275,7 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
|
|||
/// <param name="expression">An expression to be evaluated against the current model.</param>
|
||||
/// <param name="htmlAttributes">
|
||||
/// An <see cref="object"/> that contains the HTML attributes for the element. Alternatively, an
|
||||
/// <see cref="IDictionary{string, object}"/> instance containing the HTML attributes.
|
||||
/// <see cref="IDictionary{String, Object}"/> instance containing the HTML attributes.
|
||||
/// </param>
|
||||
/// <typeparam name="TResult">The type of the <paramref name="expression"/> result.</typeparam>
|
||||
/// <returns>A new <see cref="IHtmlContent"/> containing the <input> element.</returns>
|
||||
|
|
@ -306,7 +306,7 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
|
|||
/// <param name="value">Value to include in the element. Must not be <c>null</c>.</param>
|
||||
/// <param name="htmlAttributes">
|
||||
/// An <see cref="object"/> that contains the HTML attributes for the element. Alternatively, an
|
||||
/// <see cref="IDictionary{string, object}"/> instance containing the HTML attributes.
|
||||
/// <see cref="IDictionary{String, Object}"/> instance containing the HTML attributes.
|
||||
/// </param>
|
||||
/// <typeparam name="TResult">The type of the <paramref name="expression"/> result.</typeparam>
|
||||
/// <returns>A new <see cref="IHtmlContent"/> containing the <input> element.</returns>
|
||||
|
|
@ -354,7 +354,7 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
|
|||
/// <param name="columns">Number of columns in the textarea.</param>
|
||||
/// <param name="htmlAttributes">
|
||||
/// An <see cref="object"/> that contains the HTML attributes for the element. Alternatively, an
|
||||
/// <see cref="IDictionary{string, object}"/> instance containing the HTML attributes.
|
||||
/// <see cref="IDictionary{String, Object}"/> instance containing the HTML attributes.
|
||||
/// </param>
|
||||
/// <typeparam name="TResult">The type of the <paramref name="expression"/> result.</typeparam>
|
||||
/// <returns>A new <see cref="IHtmlContent"/> containing the <textarea> element.</returns>
|
||||
|
|
@ -391,7 +391,7 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
|
|||
/// </param>
|
||||
/// <param name="htmlAttributes">
|
||||
/// An <see cref="object"/> that contains the HTML attributes for the element. Alternatively, an
|
||||
/// <see cref="IDictionary{string, object}"/> instance containing the HTML attributes.
|
||||
/// <see cref="IDictionary{String, Object}"/> instance containing the HTML attributes.
|
||||
/// </param>
|
||||
/// <typeparam name="TResult">The type of the <paramref name="expression"/> result.</typeparam>
|
||||
/// <returns>A new <see cref="IHtmlContent"/> containing the <input> element.</returns>
|
||||
|
|
@ -433,7 +433,7 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
|
|||
/// </param>
|
||||
/// <param name="htmlAttributes">
|
||||
/// An <see cref="object"/> that contains the HTML attributes for the <paramref name="tag"/> element.
|
||||
/// Alternatively, an <see cref="IDictionary{string, object}"/> instance containing the HTML attributes.
|
||||
/// Alternatively, an <see cref="IDictionary{String, Object}"/> instance containing the HTML attributes.
|
||||
/// </param>
|
||||
/// <param name="tag">
|
||||
/// The tag to wrap the <paramref name="message"/> in the generated HTML. Its default value is
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
|
|||
/// <summary>
|
||||
/// Invokes a view component with the specified <paramref name="name"/>.
|
||||
/// </summary>
|
||||
/// <param name="helper">The <see cref="IViewComponentHelper"/>.</param>
|
||||
/// <param name="name">The name of the view component.</param>
|
||||
/// <returns>A <see cref="Task"/> that on completion returns the rendered <see cref="IHtmlContent" />.
|
||||
/// </returns>
|
||||
|
|
@ -31,6 +32,7 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
|
|||
/// <summary>
|
||||
/// Invokes a view component of type <paramref name="componentType" />.
|
||||
/// </summary>
|
||||
/// <param name="helper">The <see cref="IViewComponentHelper"/>.</param>
|
||||
/// <param name="componentType">The view component <see cref="Type"/>.</param>
|
||||
/// <returns>A <see cref="Task"/> that on completion returns the rendered <see cref="IHtmlContent" />.
|
||||
/// </returns>
|
||||
|
|
@ -45,7 +47,7 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// Invokes a view component of type <typeparam name="TComponent"/>.
|
||||
/// Invokes a view component of type <typeparamref name="TComponent"/>.
|
||||
/// </summary>
|
||||
/// <param name="helper">The <see cref="IViewComponentHelper"/>.</param>
|
||||
/// <param name="arguments">Arguments to be passed to the invoked view component method.</param>
|
||||
|
|
@ -63,7 +65,7 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// Invokes a view component of type <typeparam name="TComponent"/>.
|
||||
/// Invokes a view component of type <typeparamref name="TComponent"/>.
|
||||
/// </summary>
|
||||
/// <param name="helper">The <see cref="IViewComponentHelper"/>.</param>
|
||||
/// <typeparam name="TComponent">The <see cref="Type"/> of the view component.</typeparam>
|
||||
|
|
|
|||
|
|
@ -37,6 +37,7 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
|
|||
/// <param name="viewData">The <see cref="ViewDataDictionary"/>.</param>
|
||||
/// <param name="tempData">The <see cref="ITempDataDictionary"/>.</param>
|
||||
/// <param name="writer">The <see cref="TextWriter"/> to render output to.</param>
|
||||
/// <param name="htmlHelperOptions">The <see cref="HtmlHelperOptions"/> to apply to this instance.</param>
|
||||
public ViewContext(
|
||||
ActionContext actionContext,
|
||||
IView view,
|
||||
|
|
|
|||
|
|
@ -26,7 +26,6 @@ namespace Microsoft.AspNetCore.Mvc.ViewComponents
|
|||
/// <summary>
|
||||
/// Initializes a new instance of <see cref="DefaultViewComponentInvoker"/>.
|
||||
/// </summary>
|
||||
/// <param name="typeActivatorCache">Caches factories for instantiating view component instances.</param>
|
||||
/// <param name="viewComponentFactory">The <see cref="IViewComponentFactory"/>.</param>
|
||||
/// <param name="diagnosticSource">The <see cref="DiagnosticSource"/>.</param>
|
||||
/// <param name="logger">The <see cref="ILogger"/>.</param>
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ namespace Microsoft.AspNetCore.Mvc.ViewComponents
|
|||
/// Releases a ViewComponent instance.
|
||||
/// </summary>
|
||||
/// <param name="context">
|
||||
/// The <see cref="ViewComponentContext"/> associated with the <paramref name="component"/>.
|
||||
/// The <see cref="ViewComponentContext"/> associated with the <paramref name="viewComponent"/>.
|
||||
/// </param>
|
||||
/// <param name="viewComponent">The <see cref="ViewComponent"/> to release.</param>
|
||||
void Release(ViewComponentContext context, object viewComponent);
|
||||
|
|
|
|||
|
|
@ -34,6 +34,7 @@ namespace Microsoft.AspNetCore.Mvc.ViewComponents
|
|||
/// The <see cref="ViewComponentContext"/> for the view component being invoked.
|
||||
/// </param>
|
||||
/// <param name="arguments">The view component arguments.</param>
|
||||
/// <param name="htmlEncoder">The <see cref="HtmlEncoder"/> to use.</param>
|
||||
/// <param name="viewContext">The <see cref="ViewContext"/>.</param>
|
||||
/// <param name="writer">The <see cref="TextWriter"/> for writing output.</param>
|
||||
public ViewComponentContext(
|
||||
|
|
|
|||
|
|
@ -45,8 +45,10 @@ namespace Microsoft.AspNetCore.Mvc.ViewFeatures
|
|||
/// tokens.</param>
|
||||
/// <param name="optionsAccessor">The accessor for <see cref="MvcOptions"/>.</param>
|
||||
/// <param name="metadataProvider">The <see cref="IModelMetadataProvider"/>.</param>
|
||||
/// <param name="urlHelper">The <see cref="IUrlHelper"/>.</param>
|
||||
/// <param name="urlHelperFactory">The <see cref="IUrlHelperFactory"/>.</param>
|
||||
/// <param name="htmlEncoder">The <see cref="HtmlEncoder"/>.</param>
|
||||
/// <param name="clientValidatorCache">The <see cref="ClientValidatorCache"/> that provides
|
||||
/// a list of <see cref="IClientModelValidator"/>s.</param>
|
||||
public DefaultHtmlGenerator(
|
||||
IAntiforgery antiforgery,
|
||||
IOptions<MvcViewOptions> optionsAccessor,
|
||||
|
|
@ -1077,7 +1079,7 @@ namespace Microsoft.AspNetCore.Mvc.ViewFeatures
|
|||
/// <param name="method">The HTTP method for processing the form, either GET or POST.</param>
|
||||
/// <param name="htmlAttributes">
|
||||
/// An <see cref="object"/> that contains the HTML attributes for the element. Alternatively, an
|
||||
/// <see cref="IDictionary{string, object}"/> instance containing the HTML attributes.
|
||||
/// <see cref="IDictionary{String, Object}"/> instance containing the HTML attributes.
|
||||
/// </param>
|
||||
/// <returns>
|
||||
/// A <see cref="TagBuilder"/> instance for the </form> element.
|
||||
|
|
|
|||
|
|
@ -163,7 +163,7 @@ namespace Microsoft.AspNetCore.Mvc.ViewFeatures
|
|||
/// value to the dictionary. It will expose public properties from derived types as well. This is typically
|
||||
/// used with objects of an anonymous type.
|
||||
///
|
||||
/// If the <paramref name="value"/> is already an <see cref="IDictionary{string, object}"/> instance, then it
|
||||
/// If the <paramref name="value"/> is already an <see cref="IDictionary{String, Object}"/> instance, then it
|
||||
/// is returned as-is.
|
||||
/// <example>
|
||||
/// <c>new { data_name="value" }</c> will translate to the entry <c>{ "data_name", "value" }</c>
|
||||
|
|
@ -181,7 +181,7 @@ namespace Microsoft.AspNetCore.Mvc.ViewFeatures
|
|||
/// Creates a dictionary of HTML attributes from the input object,
|
||||
/// translating underscores to dashes in each public instance property.
|
||||
///
|
||||
/// If the object is already an <see cref="IDictionary{string, object}"/> instance, then it is
|
||||
/// If the object is already an <see cref="IDictionary{String, Object}"/> instance, then it is
|
||||
/// returned as-is.
|
||||
/// <example>
|
||||
/// <c>new { data_name="value" }</c> will translate to the entry <c>{ "data-name", "value" }</c>
|
||||
|
|
@ -856,7 +856,7 @@ namespace Microsoft.AspNetCore.Mvc.ViewFeatures
|
|||
/// An <see cref="object"/> that contains the parameters for a route. The parameters are retrieved through
|
||||
/// reflection by examining the properties of the <see cref="object"/>. This <see cref="object"/> is typically
|
||||
/// created using <see cref="object"/> initializer syntax. Alternatively, an
|
||||
/// <see cref="IDictionary{string, object}"/> instance containing the route parameters.
|
||||
/// <see cref="IDictionary{String, Object}"/> instance containing the route parameters.
|
||||
/// </param>
|
||||
/// <param name="method">The HTTP method for processing the form, either GET or POST.</param>
|
||||
/// <param name="antiforgery">
|
||||
|
|
@ -867,7 +867,7 @@ namespace Microsoft.AspNetCore.Mvc.ViewFeatures
|
|||
/// </param>
|
||||
/// <param name="htmlAttributes">
|
||||
/// An <see cref="object"/> that contains the HTML attributes for the element. Alternatively, an
|
||||
/// <see cref="IDictionary{string, object}"/> instance containing the HTML attributes.
|
||||
/// <see cref="IDictionary{String, Object}"/> instance containing the HTML attributes.
|
||||
/// </param>
|
||||
/// <returns>
|
||||
/// An <see cref="MvcForm"/> instance which renders the </form> end tag when disposed.
|
||||
|
|
@ -915,7 +915,7 @@ namespace Microsoft.AspNetCore.Mvc.ViewFeatures
|
|||
/// An <see cref="object"/> that contains the parameters for a route. The parameters are retrieved through
|
||||
/// reflection by examining the properties of the <see cref="object"/>. This <see cref="object"/> is typically
|
||||
/// created using <see cref="object"/> initializer syntax. Alternatively, an
|
||||
/// <see cref="IDictionary{string, object}"/> instance containing the route parameters.
|
||||
/// <see cref="IDictionary{String, Object}"/> instance containing the route parameters.
|
||||
/// </param>
|
||||
/// <param name="method">The HTTP method for processing the form, either GET or POST.</param>
|
||||
/// <param name="antiforgery">
|
||||
|
|
@ -926,7 +926,7 @@ namespace Microsoft.AspNetCore.Mvc.ViewFeatures
|
|||
/// </param>
|
||||
/// <param name="htmlAttributes">
|
||||
/// An <see cref="object"/> that contains the HTML attributes for the element. Alternatively, an
|
||||
/// <see cref="IDictionary{string, object}"/> instance containing the HTML attributes.
|
||||
/// <see cref="IDictionary{String, Object}"/> instance containing the HTML attributes.
|
||||
/// </param>
|
||||
/// <returns>
|
||||
/// An <see cref="MvcForm"/> instance which renders the </form> end tag when disposed.
|
||||
|
|
|
|||
|
|
@ -35,11 +35,11 @@ namespace Microsoft.AspNetCore.Mvc.ViewFeatures
|
|||
/// An <see cref="object"/> that contains the parameters for a route. The parameters are retrieved through
|
||||
/// reflection by examining the properties of the <see cref="object"/>. This <see cref="object"/> is typically
|
||||
/// created using <see cref="object"/> initializer syntax. Alternatively, an
|
||||
/// <see cref="IDictionary{string, object}"/> instance containing the route parameters.
|
||||
/// <see cref="IDictionary{String, Object}"/> instance containing the route parameters.
|
||||
/// </param>
|
||||
/// <param name="htmlAttributes">
|
||||
/// An <see cref="object"/> that contains the HTML attributes for the element. Alternatively, an
|
||||
/// <see cref="IDictionary{string, object}"/> instance containing the HTML attributes.
|
||||
/// <see cref="IDictionary{String, Object}"/> instance containing the HTML attributes.
|
||||
/// </param>
|
||||
/// <returns>
|
||||
/// A <see cref="TagBuilder"/> instance for the <a> element.
|
||||
|
|
@ -74,7 +74,7 @@ namespace Microsoft.AspNetCore.Mvc.ViewFeatures
|
|||
/// <param name="isChecked">The initial state of the checkbox element.</param>
|
||||
/// <param name="htmlAttributes">
|
||||
/// An <see cref="object"/> that contains the HTML attributes for the element. Alternatively, an
|
||||
/// <see cref="IDictionary{string, object}"/> instance containing the HTML attributes.
|
||||
/// <see cref="IDictionary{String, Object}"/> instance containing the HTML attributes.
|
||||
/// </param>
|
||||
/// <returns>
|
||||
/// A <see cref="TagBuilder"/> instance for the <input type="checkbox".../> element.
|
||||
|
|
@ -107,12 +107,12 @@ namespace Microsoft.AspNetCore.Mvc.ViewFeatures
|
|||
/// An <see cref="object"/> that contains the parameters for a route. The parameters are retrieved through
|
||||
/// reflection by examining the properties of the <see cref="object"/>. This <see cref="object"/> is typically
|
||||
/// created using <see cref="object"/> initializer syntax. Alternatively, an
|
||||
/// <see cref="IDictionary{string, object}"/> instance containing the route parameters.
|
||||
/// <see cref="IDictionary{String, Object}"/> instance containing the route parameters.
|
||||
/// </param>
|
||||
/// <param name="method">The HTTP method for processing the form, either GET or POST.</param>
|
||||
/// <param name="htmlAttributes">
|
||||
/// An <see cref="object"/> that contains the HTML attributes for the element. Alternatively, an
|
||||
/// <see cref="IDictionary{string, object}"/> instance containing the HTML attributes.
|
||||
/// <see cref="IDictionary{String, Object}"/> instance containing the HTML attributes.
|
||||
/// </param>
|
||||
/// <returns>
|
||||
/// A <see cref="TagBuilder"/> instance for the </form> element.
|
||||
|
|
@ -135,12 +135,12 @@ namespace Microsoft.AspNetCore.Mvc.ViewFeatures
|
|||
/// An <see cref="object"/> that contains the parameters for a route. The parameters are retrieved through
|
||||
/// reflection by examining the properties of the <see cref="object"/>. This <see cref="object"/> is typically
|
||||
/// created using <see cref="object"/> initializer syntax. Alternatively, an
|
||||
/// <see cref="IDictionary{string, object}"/> instance containing the route parameters.
|
||||
/// <see cref="IDictionary{String, Object}"/> instance containing the route parameters.
|
||||
/// </param>
|
||||
/// <param name="method">The HTTP method for processing the form, either GET or POST.</param>
|
||||
/// <param name="htmlAttributes">
|
||||
/// An <see cref="object"/> that contains the HTML attributes for the element. Alternatively, an
|
||||
/// <see cref="IDictionary{string, object}"/> instance containing the HTML attributes.
|
||||
/// <see cref="IDictionary{String, Object}"/> instance containing the HTML attributes.
|
||||
/// </param>
|
||||
/// <returns>
|
||||
/// A <see cref="TagBuilder"/> instance for the </form> element.
|
||||
|
|
@ -189,17 +189,17 @@ namespace Microsoft.AspNetCore.Mvc.ViewFeatures
|
|||
/// <param name="linkText">The text to insert inside the element.</param>
|
||||
/// <param name="routeName">The name of the route to use for link generation.</param>
|
||||
/// <param name="protocol">The protocol (scheme) for the generated link.</param>
|
||||
/// <param name="hostname">The hostname for the generated link.</param>
|
||||
/// <param name="hostName">The hostname for the generated link.</param>
|
||||
/// <param name="fragment">The fragment for the genrated link.</param>
|
||||
/// <param name="routeValues">
|
||||
/// An <see cref="object"/> that contains the parameters for a route. The parameters are retrieved through
|
||||
/// reflection by examining the properties of the <see cref="object"/>. This <see cref="object"/> is typically
|
||||
/// created using <see cref="object"/> initializer syntax. Alternatively, an
|
||||
/// <see cref="IDictionary{string, object}"/> instance containing the route parameters.
|
||||
/// <see cref="IDictionary{String, Object}"/> instance containing the route parameters.
|
||||
/// </param>
|
||||
/// <param name="htmlAttributes">
|
||||
/// An <see cref="object"/> that contains the HTML attributes for the element. Alternatively, an
|
||||
/// <see cref="IDictionary{string, object}"/> instance containing the HTML attributes.
|
||||
/// <see cref="IDictionary{String, Object}"/> instance containing the HTML attributes.
|
||||
/// </param>
|
||||
/// <returns>
|
||||
/// A <see cref="TagBuilder"/> instance for the <a> element.
|
||||
|
|
@ -235,7 +235,7 @@ namespace Microsoft.AspNetCore.Mvc.ViewFeatures
|
|||
/// </param>
|
||||
/// <param name="htmlAttributes">
|
||||
/// An <see cref="object"/> that contains the HTML attributes for the <select> element. Alternatively, an
|
||||
/// <see cref="IDictionary{string, object}"/> instance containing the HTML attributes.
|
||||
/// <see cref="IDictionary{String, Object}"/> instance containing the HTML attributes.
|
||||
/// </param>
|
||||
/// <returns>A new <see cref="TagBuilder"/> describing the <select> element.</returns>
|
||||
/// <remarks>
|
||||
|
|
@ -273,7 +273,7 @@ namespace Microsoft.AspNetCore.Mvc.ViewFeatures
|
|||
/// <c>ViewContext.ViewData[expression]</c>.
|
||||
/// </param>
|
||||
/// <param name="currentValues">
|
||||
/// An <see cref="ICollection{string}"/> containing values for <option> elements to select. If
|
||||
/// An <see cref="ICollection{String}"/> containing values for <option> elements to select. If
|
||||
/// <c>null</c>, selects <option> elements based on <see cref="SelectListItem.Selected"/> values in
|
||||
/// <paramref name="selectList"/>.
|
||||
/// </param>
|
||||
|
|
@ -283,7 +283,7 @@ namespace Microsoft.AspNetCore.Mvc.ViewFeatures
|
|||
/// </param>
|
||||
/// <param name="htmlAttributes">
|
||||
/// An <see cref="object"/> that contains the HTML attributes for the <select> element. Alternatively, an
|
||||
/// <see cref="IDictionary{string, object}"/> instance containing the HTML attributes.
|
||||
/// <see cref="IDictionary{String, Object}"/> instance containing the HTML attributes.
|
||||
/// </param>
|
||||
/// <returns>A new <see cref="TagBuilder"/> describing the <select> element.</returns>
|
||||
/// <remarks>
|
||||
|
|
@ -354,7 +354,7 @@ namespace Microsoft.AspNetCore.Mvc.ViewFeatures
|
|||
/// </param>
|
||||
/// <param name="htmlAttributes">
|
||||
/// An <see cref="object"/> that contains the HTML attributes for the element. Alternatively, an
|
||||
/// <see cref="IDictionary{string, object}"/> instance containing the HTML attributes.
|
||||
/// <see cref="IDictionary{String, Object}"/> instance containing the HTML attributes.
|
||||
/// </param>
|
||||
/// <returns>
|
||||
/// A <see cref="TagBuilder"/> containing a <paramref name="tag"/> element if the
|
||||
|
|
@ -394,7 +394,7 @@ namespace Microsoft.AspNetCore.Mvc.ViewFeatures
|
|||
/// <returns>
|
||||
/// <para>
|
||||
/// <c>null</c> if no <paramref name="expression"/> result is found. Otherwise a
|
||||
/// <see cref="ICollection{string}"/> containing current values for the given
|
||||
/// <see cref="ICollection{String}"/> containing current values for the given
|
||||
/// <paramref name="expression"/>.
|
||||
/// </para>
|
||||
/// <para>
|
||||
|
|
@ -410,7 +410,7 @@ namespace Microsoft.AspNetCore.Mvc.ViewFeatures
|
|||
/// </para>
|
||||
/// </returns>
|
||||
/// <remarks>
|
||||
/// See <see cref="GenerateSelect"/> for information about how the return value may be used.
|
||||
/// See <see cref="M:GenerateSelect"/> for information about how the return value may be used.
|
||||
/// </remarks>
|
||||
ICollection<string> GetCurrentValues(
|
||||
ViewContext viewContext,
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@ namespace Microsoft.AspNetCore.Mvc.ViewFeatures
|
|||
/// <param name="metadataProvider">The <see cref="IModelMetadataProvider"/>.</param>
|
||||
/// <param name="container">The container <see cref="ModelExplorer"/>.</param>
|
||||
/// <param name="metadata">The <see cref="ModelMetadata"/>.</param>
|
||||
/// <param name="modelAccessor">A model accessor function. May be <c>null</c>.</param>
|
||||
/// <param name="modelAccessor">A model accessor function..</param>
|
||||
public ModelExplorer(
|
||||
IModelMetadataProvider metadataProvider,
|
||||
ModelExplorer container,
|
||||
|
|
@ -351,7 +351,7 @@ namespace Microsoft.AspNetCore.Mvc.ViewFeatures
|
|||
/// <summary>
|
||||
/// Gets a <see cref="ModelExplorer"/> for the provided model value and model <see cref="Type"/>.
|
||||
/// </summary>
|
||||
/// <param name="modelType">The model <see cref="Type"/>.</param>
|
||||
/// <param name="metadata">The <see cref="ModelMetadata"/> associated with the model.</param>
|
||||
/// <param name="model">The model value.</param>
|
||||
/// <returns>A <see cref="ModelExplorer"/>.</returns>
|
||||
/// <remarks>
|
||||
|
|
@ -379,7 +379,7 @@ namespace Microsoft.AspNetCore.Mvc.ViewFeatures
|
|||
/// Gets a <see cref="ModelExplorer"/> for the provided model value and model <see cref="Type"/>.
|
||||
/// </summary>
|
||||
/// <param name="modelType">The model <see cref="Type"/>.</param>
|
||||
/// <param name="model">The model value.</param>
|
||||
/// <param name="modelAccessor">A model accessor function.</param>
|
||||
/// <returns>A <see cref="ModelExplorer"/>.</returns>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
|
|
@ -406,8 +406,8 @@ namespace Microsoft.AspNetCore.Mvc.ViewFeatures
|
|||
/// <summary>
|
||||
/// Gets a <see cref="ModelExplorer"/> for the provided model value and model <see cref="Type"/>.
|
||||
/// </summary>
|
||||
/// <param name="modelType">The model <see cref="Type"/>.</param>
|
||||
/// <param name="model">The model value.</param>
|
||||
/// <param name="metadata">The <see cref="ModelMetadata"/> associated with the model.</param>
|
||||
/// <param name="modelAccessor">A model accessor function.</param>
|
||||
/// <returns>A <see cref="ModelExplorer"/>.</returns>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
|
|
|
|||
|
|
@ -7,7 +7,9 @@
|
|||
},
|
||||
"compilationOptions": {
|
||||
"warningsAsErrors": true,
|
||||
"keyFile": "../../tools/Key.snk"
|
||||
"keyFile": "../../tools/Key.snk",
|
||||
"nowarn": [ "CS1591" ],
|
||||
"xmlDoc": true
|
||||
},
|
||||
"dependencies": {
|
||||
"Microsoft.AspNetCore.Antiforgery": "1.0.0-*",
|
||||
|
|
|
|||
|
|
@ -296,8 +296,7 @@ namespace System.Net.Http
|
|||
/// found, this method returns a response with status 406 NotAcceptable.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// This method will use the provided <paramref name="configuration"/> or it will get the
|
||||
/// <see cref="HttpContext"/> instance associated with <paramref name="request"/>.
|
||||
/// This method will get the <see cref="HttpContext"/> instance associated with <paramref name="request"/>.
|
||||
/// </remarks>
|
||||
/// <typeparam name="T">The type of the value.</typeparam>
|
||||
/// <param name="request">The request.</param>
|
||||
|
|
|
|||
|
|
@ -7,7 +7,9 @@
|
|||
},
|
||||
"compilationOptions": {
|
||||
"warningsAsErrors": true,
|
||||
"keyFile": "../../tools/Key.snk"
|
||||
"keyFile": "../../tools/Key.snk",
|
||||
"nowarn": [ "CS1591" ],
|
||||
"xmlDoc": true
|
||||
},
|
||||
"dependencies": {
|
||||
"Microsoft.AspNetCore.Mvc.Core": "1.0.0-*",
|
||||
|
|
|
|||
|
|
@ -7,7 +7,9 @@
|
|||
},
|
||||
"compilationOptions": {
|
||||
"warningsAsErrors": true,
|
||||
"keyFile": "../../tools/Key.snk"
|
||||
"keyFile": "../../tools/Key.snk",
|
||||
"nowarn": [ "CS1591" ],
|
||||
"xmlDoc": true
|
||||
},
|
||||
"dependencies": {
|
||||
"Microsoft.AspNetCore.Mvc.ApiExplorer": "1.0.0-*",
|
||||
|
|
|
|||
Loading…
Reference in New Issue