Fixed xml docs.

This commit is contained in:
N. Taylor Mullen 2015-02-04 16:40:06 -08:00
parent 5a3863d562
commit 19ca77ac2d
1 changed files with 5 additions and 4 deletions

View File

@ -11,28 +11,29 @@ namespace Microsoft.AspNet.Mvc
/// <summary> /// <summary>
/// Gets or sets the duration in seconds for which the response is cached. /// Gets or sets the duration in seconds for which the response is cached.
/// If this property is set to a non null value, /// If this property is set to a non null value,
/// the "max-age" in "Cache-control" header is set in the <see cref="HttpContext.Response" />. /// the "max-age" in "Cache-control" header is set in the
/// <see cref="Microsoft.AspNet.Http.HttpContext.Response" />.
/// </summary> /// </summary>
public int? Duration { get; set; } public int? Duration { get; set; }
/// <summary> /// <summary>
/// Gets or sets the location where the data from a particular URL must be cached. /// Gets or sets the location where the data from a particular URL must be cached.
/// If this property is set to a non null value, /// If this property is set to a non null value,
/// the "Cache-control" header is set in the <see cref="HttpContext.Response" />. /// the "Cache-control" header is set in the <see cref="Microsoft.AspNet.Http.HttpContext.Response" />.
/// </summary> /// </summary>
public ResponseCacheLocation? Location { get; set; } public ResponseCacheLocation? Location { get; set; }
/// <summary> /// <summary>
/// Gets or sets the value which determines whether the data should be stored or not. /// Gets or sets the value which determines whether the data should be stored or not.
/// When set to <see langword="true"/>, it sets "Cache-control" header in /// When set to <see langword="true"/>, it sets "Cache-control" header in
/// <see cref="HttpContext.Response" /> to "no-store". /// <see cref="Microsoft.AspNet.Http.HttpContext.Response" /> to "no-store".
/// Ignores the "Location" parameter for values other than "None". /// Ignores the "Location" parameter for values other than "None".
/// Ignores the "Duration" parameter. /// Ignores the "Duration" parameter.
/// </summary> /// </summary>
public bool? NoStore { get; set; } public bool? NoStore { get; set; }
/// <summary> /// <summary>
/// Gets or sets the value for the Vary header in <see cref="HttpContext.Response" />. /// Gets or sets the value for the Vary header in <see cref="Microsoft.AspNet.Http.HttpContext.Response" />.
/// </summary> /// </summary>
public string VaryByHeader { get; set; } public string VaryByHeader { get; set; }
} }